mm
This commit is contained in:
+10
@@ -22,3 +22,13 @@
|
|||||||
|
|
||||||
获取到的利润,我们不会直接以钱的形式转出到国外,我们会购买某些贵金属或稀土,或者获取某些知识产权。
|
获取到的利润,我们不会直接以钱的形式转出到国外,我们会购买某些贵金属或稀土,或者获取某些知识产权。
|
||||||
|
|
||||||
|
## 离岸金融,最初是为了规避通货膨胀,但也能规避纳税
|
||||||
|
|
||||||
|
## 人们选择这个货币,是因为这个货币不容易贬值
|
||||||
|
|
||||||
|
银行家会通过通货膨胀收割财富,
|
||||||
|
|
||||||
|
## 稀缺性才是致富的密码,古代靠土地垄断,互联网靠流量垄断
|
||||||
|
|
||||||
|
但是除了垄断,还有一些能收割的软措施,例如情绪收割。
|
||||||
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
# Chapter 2 酸嘢
|
# Chapter 2 酸嘢
|
||||||
|
|
||||||
## 2.1 需要制作的东西
|
## 2.1 需要的东西
|
||||||
|
|
||||||
水果,酸甜水,椒盐撒料,红糖水。
|
水果,酸甜水,椒盐撒料,红糖水。
|
||||||
|
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
# Chapter 4 凉拌菜
|
||||||
|
|
||||||
|
## 4.1 需要的东西
|
||||||
|
|
||||||
|
凉拌菜香粉,凉拌王(科技),万里香(闻起来很香,但没有味道),辣椒精油,红油增香粉,爆香增色红油(香精和辣椒红色素)。
|
||||||
|
|
||||||
|
辣椒面(红),白芝麻(白),葱花(绿),蒜(白),小米辣(红),生抽(酱香),陈醋(微酸能降苦味)。
|
||||||
|
|
||||||
|
## 4.2 入味原理
|
||||||
|
|
||||||
|
由于肉可以热胀冷缩,能吸入卤水的味道。
|
||||||
|
|
||||||
|
而菜吸入有限,必须靠粘稠度挂汁。
|
||||||
|
|
||||||
|
油自身就是粘稠的,自带挂汁能力。
|
||||||
|
|
||||||
|
但是味水,就需要加点 “增稠剂” 了。
|
||||||
|
|
||||||
|
## 4.3 红油制作
|
||||||
|
|
||||||
|
大豆油(基础油),爆香增色红油(上色),辣椒精油(增加辣度),红油增香粉(增香),辣椒面(演员),白芝麻(演员)。
|
||||||
|
|
||||||
|
## 4.4 味水制作
|
||||||
|
|
||||||
|
凉拌王(核心上瘾科技),凉拌菜香粉(吃起来香),万里香(闻起来香),生抽(酱香),陈醋(降苦味),蒜(演员),葱花(演员),小米辣(演员)。
|
||||||
|
|
||||||
|
## 4.5 蔬菜泡水
|
||||||
|
|
||||||
|
淀粉类蔬菜,例如土豆,莲藕,切好后需要用水冲掉,再泡水,否则会氧化发黑,不好看。
|
||||||
|
|
||||||
|
泡发菜,例如,干木耳,干黄花,干香菇,必须泡水。
|
||||||
|
|
||||||
|
海产品,例如,海带,必须要泡水。
|
||||||
|
|
||||||
|
不需要泡水的,蘑菇类,蔬菜类,例如,莴笋,西兰花。
|
||||||
|
|
||||||
|
莲藕,9孔为脆藕,7孔为面藕和粉藕。
|
||||||
|
|
||||||
|
腐竹,泡一晚上,隔天变软,或者加白醋,但切记不能用开水和温水,否则造成表皮软,中间硬,客户吃起来口感不好。
|
||||||
|
|
||||||
|
## 4.6 焯水断生,小苏打护色
|
||||||
|
|
||||||
|
每斤水,大豆油3g(锁色),盐1g(护味),小苏打0.2g(增脆增绿)。
|
||||||
|
|
||||||
|
豆制品,腐竹,豆腐干,千页,一律焯5秒。
|
||||||
|
|
||||||
|
藕片,2mm厚度,焯30秒,指标是脆就可以。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
# Chapter 4 凉拌菜
|
|
||||||
|
|
||||||
## 4.1 凉拌菜就是卤菜
|
|
||||||
|
|
||||||
由于肉可以热胀冷缩,能吸入卤水的味道。
|
|
||||||
|
|
||||||
而菜吸入有限,必须靠粘稠度挂汁。
|
|
||||||
|
|
||||||
油自身就是粘稠的,自带挂汁能力。
|
|
||||||
|
|
||||||
但是味水,就需要加点 “增稠剂” 了。
|
|
||||||
|
|
||||||
# 4.2 蔬菜泡水
|
|
||||||
|
|
||||||
淀粉类蔬菜,例如土豆,莲藕,切好后需要用水冲掉,再泡水,否则会氧化发黑,不好看。
|
|
||||||
|
|
||||||
泡发菜,例如,干木耳,干黄花,干香菇,必须泡水。
|
|
||||||
|
|
||||||
海产品,例如,海带,必须要泡水。
|
|
||||||
|
|
||||||
不需要泡水的,蘑菇类,蔬菜类,例如,莴笋,西兰花。
|
|
||||||
|
|
||||||
莲藕,9孔为脆藕,7孔为面藕和粉藕。
|
|
||||||
|
|
||||||
腐竹,泡一晚上,隔天变软,或者加白醋,但切记不能用开水和温水,否则造成表皮软,中间硬,客户吃起来口感不好。
|
|
||||||
|
|
||||||
# 4.3 焯水断生,小苏打护色
|
|
||||||
|
|
||||||
每斤水,大豆油3g(锁色),盐1g(护味),小苏打0.2g(增脆增绿)。
|
|
||||||
|
|
||||||
豆制品,腐竹,豆腐干,千页,一律焯5秒。
|
|
||||||
|
|
||||||
藕片,2mm厚度,焯30秒,指标是脆就可以。
|
|
||||||
|
|
||||||
# 辣椒红油
|
|
||||||
|
|
||||||
【新疆大板椒】,【重庆石柱红3号】,【荷兰新一代】,用于提色,【子弹头】辣椒,用于增辣,【二荆条】,用于提香。
|
|
||||||
|
|
||||||
如果你买原生的辣椒,这些辣椒都需要炒好,再打成二粗状态,这就叫【辣椒面】,当然你可以再当地的批发市场,直接买炒好的。
|
|
||||||
|
|
||||||
3斤油,20g紫草,
|
|
||||||
|
|
||||||
油可以用菜籽油,200度,炸芝麻,180度,炸花生,3分钟就捞起来。
|
|
||||||
|
|
||||||
160度,炸紫草,150度,炸辣椒面,关火状态,不可以有气泡,因为会糊会苦,炸到每次捞起来,上面没有颜色了,就扔。
|
|
||||||
|
|
||||||
最后在加入,红花椒面,川菜中必不可少的。
|
|
||||||
|
|
||||||
# 味水
|
|
||||||
|
|
||||||
辣椒末,葱花末,蒜末,芝麻,小米辣,一勺热红油,两勺生抽,两勺醋,白糖,食盐,耗油。
|
|
||||||
|
|
||||||
**小知识:** 味道统一,靠的是味水,而不是卤制时间长短,味水调好了,味道就是一致的。
|
|
||||||
|
|
||||||
# 拌菜出餐
|
|
||||||
|
|
||||||
先上味水,而不是先上红油,否则菜的表面一层油,还怎么入味。
|
|
||||||
|
|
||||||
为了让看看起来量更多,更划算,增加复购率。上面可以用一些廉价素菜占用空间,青瓜丝,萝卜丝,蒜花,这样能让顾客感觉量够。
|
|
||||||
|
|
||||||
然后两黄两黑,每种一圈,香油起到提味,放一圈,花椒油麻香味,放一圈,醋提鲜素材(荤菜不建议放),放一丢丢,生抽酱香味,放一圈。
|
|
||||||
|
|
||||||
一点熟芝麻,一点白糖(可选),醋和白糖是绝配。
|
|
||||||
|
|
||||||
# 封油
|
|
||||||
|
|
||||||
红油1,大豆油2,1比2,高2cm就可以了。
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Generated
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "defgov",
|
"name": "dg",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { DownloadSvg } from "../src/assets/svg/DownloadSvg";
|
import { DownloadSvg } from "../src/assets/svg/download-svg";
|
||||||
import { Button } from "../src/components/button/button";
|
import { Button } from "../src/components/button/button";
|
||||||
import { IW } from "./iw";
|
import { IW } from "./iw";
|
||||||
import { OW } from "./ow";
|
import { OW } from "./ow";
|
||||||
@@ -29,7 +29,7 @@ export const ButtonGallery = () => {
|
|||||||
<IW>
|
<IW>
|
||||||
<Button size="sm">small</Button>
|
<Button size="sm">small</Button>
|
||||||
<Button size="sm" iconSvg={<DownloadSvg />}>
|
<Button size="sm" iconSvg={<DownloadSvg />}>
|
||||||
small
|
下载
|
||||||
</Button>
|
</Button>
|
||||||
<Button size="sm" iconSvg={<DownloadSvg />} isIconOnly={true}>
|
<Button size="sm" iconSvg={<DownloadSvg />} isIconOnly={true}>
|
||||||
small
|
small
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
|
FileSvg,
|
||||||
Menu,
|
Menu,
|
||||||
MenuCheckItem,
|
MenuCheckItem,
|
||||||
MenuDropdown,
|
MenuDropdown,
|
||||||
@@ -22,7 +23,7 @@ export const MenuGallery = () => {
|
|||||||
</Button>
|
</Button>
|
||||||
</MenuTrigger>
|
</MenuTrigger>
|
||||||
<MenuDropdown>
|
<MenuDropdown>
|
||||||
<MenuItem>Open File...</MenuItem>
|
<MenuItem iconSvg={<FileSvg />}>Open File...</MenuItem>
|
||||||
<MenuItem>Open Folder...</MenuItem>
|
<MenuItem>Open Folder...</MenuItem>
|
||||||
<Menu>
|
<Menu>
|
||||||
<MenuTrigger>
|
<MenuTrigger>
|
||||||
@@ -31,9 +32,56 @@ export const MenuGallery = () => {
|
|||||||
<MenuDropdown>
|
<MenuDropdown>
|
||||||
<MenuItem>Profile</MenuItem>
|
<MenuItem>Profile</MenuItem>
|
||||||
<MenuItem>Settings</MenuItem>
|
<MenuItem>Settings</MenuItem>
|
||||||
<MenuCheckItem>Auto Lint</MenuCheckItem>
|
|
||||||
</MenuDropdown>
|
</MenuDropdown>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
<MenuCheckItem>Auto Lint</MenuCheckItem>
|
||||||
|
<Menu>
|
||||||
|
<MenuTrigger>
|
||||||
|
<MenuItem>Ruler</MenuItem>
|
||||||
|
</MenuTrigger>
|
||||||
|
<MenuDropdown>
|
||||||
|
<MenuRadioItemGroup defaultSelectName="hori">
|
||||||
|
<MenuRadioItem name="hori">Hori</MenuRadioItem>
|
||||||
|
<MenuRadioItem name="verti">Verti</MenuRadioItem>
|
||||||
|
<MenuRadioItem name="both">Hoth</MenuRadioItem>
|
||||||
|
</MenuRadioItemGroup>
|
||||||
|
</MenuDropdown>
|
||||||
|
</Menu>
|
||||||
|
</MenuDropdown>
|
||||||
|
</Menu>
|
||||||
|
</IW>
|
||||||
|
|
||||||
|
<IW>
|
||||||
|
<Menu size="md">
|
||||||
|
<MenuTrigger>
|
||||||
|
<Button size="md" variant="ghost">
|
||||||
|
文件
|
||||||
|
</Button>
|
||||||
|
</MenuTrigger>
|
||||||
|
<MenuDropdown>
|
||||||
|
<MenuItem iconSvg={<FileSvg />}>Open File...</MenuItem>
|
||||||
|
<MenuItem>Open Folder...</MenuItem>
|
||||||
|
{/* 子菜单 */}
|
||||||
|
<Menu>
|
||||||
|
<MenuTrigger>
|
||||||
|
<MenuItem>Preferences</MenuItem>
|
||||||
|
</MenuTrigger>
|
||||||
|
<MenuDropdown>
|
||||||
|
<MenuItem>Profile</MenuItem>
|
||||||
|
<MenuItem>Settings</MenuItem>
|
||||||
|
{/* 子菜单 */}
|
||||||
|
<Menu>
|
||||||
|
<MenuTrigger>
|
||||||
|
<MenuItem>To open 3</MenuItem>
|
||||||
|
</MenuTrigger>
|
||||||
|
<MenuDropdown>
|
||||||
|
<MenuItem>Profile</MenuItem>
|
||||||
|
<MenuItem>Settings</MenuItem>
|
||||||
|
</MenuDropdown>
|
||||||
|
</Menu>
|
||||||
|
</MenuDropdown>
|
||||||
|
</Menu>
|
||||||
|
<MenuCheckItem>Auto Lint</MenuCheckItem>
|
||||||
<Menu>
|
<Menu>
|
||||||
<MenuTrigger>
|
<MenuTrigger>
|
||||||
<MenuItem>Ruler</MenuItem>
|
<MenuItem>Ruler</MenuItem>
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
block,flex,inline-block,inline-flex 有什么区别?
|
|
||||||
|
|
||||||
# 内联元素
|
|
||||||
|
|
||||||
inline 或 inline- 前缀,就是内联元素的意思,内联元素的 width 和 height 是不起效果的。
|
|
||||||
但是 inline-block 可以正常设置 width 和 height。
|
|
||||||
|
|
||||||
inline,顾名思义,就是和【inline 文本】一个地位,大多数时候,你可能想要【一行元素】而不是【一行文本】。
|
|
||||||
|
|
||||||
text-align,可以将文本居中,因此也能让 inline- 的元素居中。
|
|
||||||
|
|
||||||
inline 的换行行为,就是越界才换行。
|
|
||||||
|
|
||||||
# 易错点
|
|
||||||
|
|
||||||
span 是一个 inline 元素,里面不应该使用 svg 这种 block 元素。
|
|
||||||
有些人的 span 里面只有一个 svg 元素,因此他们没发现问题所在。
|
|
||||||
如果你尝试,把【文本】和【svg】放进同一个 span 元素里,你就会发现 text-align:center 无法使两者居中,【svg】不受 text-align 的影响。
|
|
||||||
你开始疑问,emoj 表情包里面肯定是有 svg 的,他是怎么放进一行话中的?
|
|
||||||
你查了下发现,对话框用的是 div,表情用的是 i,文本用的是 span。
|
|
||||||
|
|
||||||
# 块级元素
|
|
||||||
|
|
||||||
flex,block,自身作为子元素,要求换行,跟 inline 元素相反。
|
|
||||||
两个子元素,一个 flex,一个 block,每个独占一行。
|
|
||||||
|
|
||||||
父元素 【align-items: center】 才能使块元素居中。
|
|
||||||
|
|
||||||
block,自身作为父元素,允许子元素换行,换不换,看子元素自己意愿。
|
|
||||||
flex,自身作为父元素,不允许子元素换行。
|
|
||||||
另外要注意,flex-wrap 的 默认值是 nowrap,但是可以修改成 wrap,模拟 inline 的越界换行。
|
|
||||||
|
|
||||||
# 网格元素
|
|
||||||
|
|
||||||
grid,与 justify-items,和 align-items 相关,每一个 cell 单元格,就是一个 item。
|
|
||||||
|
|
||||||
# 大部分情况是用不到 inline 的
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# isValidElement 不通过
|
|
||||||
|
|
||||||
通常是 SvgComponent 的属性使用了短横线,而不是驼峰。
|
|
||||||
|
|
||||||
# 弹框在页面左上角
|
|
||||||
|
|
||||||
mergeProps 里面的 function 函数合并出问题了。
|
|
||||||
|
|
||||||
# 点击无反应
|
|
||||||
|
|
||||||
没做 【isMounted && 】的判断。
|
|
||||||
|
|
||||||
setIsOpen(!isOpen),而不是 setIsOpen(true)。
|
|
||||||
|
|
||||||
# hover 不亮
|
|
||||||
|
|
||||||
brandRecipe 可能漏了,css 变量没有提供。
|
|
||||||
|
|
||||||
# FloatingArrow 箭头位置不对
|
|
||||||
|
|
||||||
arrow() 需要位于 offset,shift,flip 之后。
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
当你没有【对应格式】的【编辑器】来给你解析时,始终确保【原生文本】是【人类可读的】。
|
|
||||||
就像【任何格式】的文件,都可以用txt来浏览。
|
|
||||||
|
|
||||||
md 的语法是有缺陷的,【前标签】和【后标签】相互夹起来,而不是用【换行】这种容易被误解的方式,否则一旦有人删除空行,就会导致排版问题。
|
|
||||||
|
|
||||||
【前后标签】方案,适配 style 应用,你可以 【div + class】,或者直接创造一个新标签,
|
|
||||||
例如【<b></b>】。
|
|
||||||
|
|
||||||
为了人类可读,始终不建议标签上直接写【style 属性】而是使用【class 属性】,因为这些不是内容,只是告诉渲染器如何渲染,我非常支持【废除 style 属性】。
|
|
||||||
|
|
||||||
css 文件应该支持 atom 解构赋值,多条样式写好了,封装成一个 atom,就不要反反复复写了。
|
|
||||||
|
|
||||||
【class属性】应取消按【特征值】大小覆盖的逻辑,而是始终【后面覆盖前面】。
|
|
||||||
|
|
||||||
|
|
||||||
为了解决这个问题,我自己写了【基于前缀】的【class 替换】逻辑 【cpm】,旧的直接去掉,换新的上。
|
|
||||||
|
|
||||||
如果后面覆盖前面,那么旧的根本不用去掉,直接在末尾加新的即可,也不用开发者学习,要去掉哪些【旧前缀】?
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
最大问题就是,checkbox,icon,indicator,这三者会拉长长度。
|
|
||||||
|
|
||||||
一个 20 条 item,要有一个具有 checkbox,剩下的全部都得加宽。
|
|
||||||
|
|
||||||
【blender】的方案是,有 checkbox 的,就不要 icon,并始终保留 indicator 的位置。
|
|
||||||
|
|
||||||
通常一个【3d viewport】需要做选择,【显示曲线】或【显示面】等。
|
|
||||||
有 icon 可以极其方便用户,一看便知道。
|
|
||||||
不过此处,不是用 checkbox 来选中状态,而是用【背景色】。
|
|
||||||
但是我希望,这个 viewport 的独立菜单中,也可以看到这个 checkbox。
|
|
||||||
这时候,checkbox 和 icon 是必须同时显示,才能让用户通过 icon 识别。
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
不需要判空的,只有原始 string,number这类型。
|
|
||||||
|
|
||||||
- 带 【?】号的
|
|
||||||
- 带【 | undefind 】交叉类型的
|
|
||||||
- 非原始类型,例如 Array [],Map,对象 {}, 等
|
|
||||||
|
|
||||||
上面全部都是要判空的。
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
如果只是,以便靠左,一边靠右,那就不要用浮动。
|
|
||||||
|
|
||||||
使用浮动 float 的情况,只有文档内,图片需要【文字环绕】的情况。
|
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# 代码原则
|
||||||
|
|
||||||
|
## UI 开发应该用函数式组件
|
||||||
|
|
||||||
|
其实函数式组件,就是类组件里的一个 render 方法而已。
|
||||||
|
|
||||||
|
类组件里的各种成员变量,框架已经自动传入 render 的参数里了,非常方便。
|
||||||
|
|
||||||
|
再加上 tsx 和 rsx 的特殊语法解析器,智能提示全齐。
|
||||||
|
|
||||||
|
## 有些技术问题,早就有人开发了改进框架
|
||||||
|
|
||||||
|
有时候自己开发 react ,发现两个不是父子关系的组件,仍然需要通信。
|
||||||
|
|
||||||
|
例如,全选按钮,和列表按钮,不是父子关系。
|
||||||
|
|
||||||
|
这就需要一个所谓的 “全局状态库”,或者说 “配置模式”。
|
||||||
|
|
||||||
|
就像 settings 里的一大堆勾勾清单,使用 profile A,和 profile B,批量改变。
|
||||||
|
|
||||||
|
## 不要强求传入的数据有某种格式,而是兼容标准数据
|
||||||
|
|
||||||
|
例如 svg 格式的,要不要写成一个 component 呢?
|
||||||
|
|
||||||
|
试想一下,系统已经上线运营,你不可能添加任何代码,你只能给文件,系统愿不愿意数据转换,那是另一回事。
|
||||||
|
|
||||||
|
如果我想复用 svg 文件,不仅在 react 框架下用,还要在很多框架下用,我不能弄几套不同的版本,那样太占用空间。
|
||||||
|
|
||||||
|
因此,我必须维持 .svg 的原文件格式,不添加任何 jsx 语法。
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
例如,一个表格,当在平板电脑上时,是否需要放大?
|
|
||||||
如果是手机模式,按理说表格应该尽可能,自动拉扯,以便占满屏幕。
|
|
||||||
|
|
||||||
一个桌面网页,在手机上被浏览,往往会【触发换行】。
|
|
||||||
不换行,是反操作体验的,没人希望,每一行内容都要手动滚动。
|
|
||||||
|
|
||||||
因此,一些导航栏,需要监控是否超出屏幕,用一些特殊方法,提供一个菜单,覆盖默认换行行为。
|
|
||||||
|
|
||||||
始终考虑【超出屏幕】就是【面向响应式】设计。
|
|
||||||
|
|
||||||
每个组件的【长度】是不一样的,一旦下一个换行,前一个的末尾,会不会留有空白?
|
|
||||||
|
|
||||||
导航栏,这个组件本身,可以全部替换成菜单。
|
|
||||||
|
|
||||||
标签栏,就会有【长度】问题,但【wps-sheet】和【excel】的方案,【...按钮】省略按钮,和【菜单按钮】悬浮在【最右侧】,不提供滚动条,而是提供2个【箭头按钮】,拖动时悬浮在【...按钮】上,自动滚动。
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
先说一个结论, ts 的 typeof 只能判断原始类型, 例如, string, numnber 这些。
|
|
||||||
|
|
||||||
你自己 用 type 定义了 2 个自定义类型,是无法用 typeof 判断的,这导致非常麻烦的问题。
|
|
||||||
|
|
||||||
如果不是 ts,而是强类型语言,就是简单的 typeof 就解决的事情。
|
|
||||||
|
|
||||||
所以,编译时,是永远无法检查出来的,只有运行时报错。
|
|
||||||
|
|
||||||
你只要确定【兼容】,就直接用 AS 强制转换,不用管其他的。
|
|
||||||
|
|
||||||
其他开发者乱传入参数,那就让他们运行时报错,我们不搞什么动态校验。
|
|
||||||
|
|
||||||
``````
|
|
||||||
export function mergeProps(classMergeFn?: ClassMergeFn | AnyProps, ...propsList: AnyProps[]): AnyProps {
|
|
||||||
|
|
||||||
// 始终提供默认值,否则后面大量判空
|
|
||||||
let _classMergeFn = defaultClassMergeFn;
|
|
||||||
let _propsList = propsList;
|
|
||||||
|
|
||||||
if (typeof classMergeFn === "function") {
|
|
||||||
_classMergeFn = classMergeFn as ClassMergeFn
|
|
||||||
} else if (classMergeFn != undefined) {
|
|
||||||
_propsList = [classMergeFn as AnyProps, ...propsList]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
``````
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
# 顺序问题
|
|
||||||
|
|
||||||
我最初以为,&:focus 和 &:active 是像 switch 一样的分支判断,但其实不是。
|
|
||||||
|
|
||||||
focus 状态同时也会激活 active 状态。
|
|
||||||
|
|
||||||
你必须把 &:focus 放在 &:active 的前面,这样子才不会让 active 覆盖了 focus。
|
|
||||||
|
|
||||||
# 如何区分鼠标和键盘焦点
|
|
||||||
|
|
||||||
:focus,鼠标,触控,键盘都有。
|
|
||||||
|
|
||||||
:focus-visable,仅键盘焦点。
|
|
||||||
|
|
||||||
:focus:not(:focus-visible),从三者中排除键盘焦点,剩下就是鼠标,触控焦点。
|
|
||||||
|
|
||||||
# 如何消除焦点边框
|
|
||||||
|
|
||||||
|
|
||||||
.reset {
|
|
||||||
|
|
||||||
/* 鼠标与触控焦点,必须在 :focus-visible 之后 */
|
|
||||||
button:focus:not(:focus-visible),
|
|
||||||
div:focus:not(:focus-visible) {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 单独设置键盘焦点,必须在 :focus:not(:focus-visible) 之前 */
|
|
||||||
button:focus-visible,
|
|
||||||
div:focus-visible {
|
|
||||||
outline: 2px solid var(--focus-outline-color);
|
|
||||||
outline-offset: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# 如何用色
|
|
||||||
|
|
||||||
有背景色的,hover 深,active 浅,例如,filled,subtle。
|
|
||||||
无背景色的,hover 浅,active 深,例如,outline,ghost。
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
export const CheckIndicatorSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
|
||||||
<path
|
|
||||||
fill="currentColor"
|
|
||||||
d="M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"
|
|
||||||
/>
|
|
||||||
</svg>
|
|
||||||
);
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
export const FileSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
|
||||||
<g
|
|
||||||
fill="none"
|
|
||||||
stroke="currentColor"
|
|
||||||
strokeLinecap="round"
|
|
||||||
strokeLinejoin="round"
|
|
||||||
strokeWidth="2"
|
|
||||||
>
|
|
||||||
<path d="M14 3v4a1 1 0 0 0 1 1h4" />
|
|
||||||
<path d="M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
);
|
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const BoldSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const BoldSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
export const CheckIndicatorSvg = () => (
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
export const CheckboxCheckedSvg = () => (
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path d="M0 0h32v32H0z" fill="none" />
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M6 26V6h20v20Z"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="m14 21.5l-5-4.96L10.59 15L14 18.35L21.41 11L23 12.58z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
export const CheckboxUncheckedSvg = () => (
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path d="M0 0h32v32H0z" fill="none" />
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M6 26V6h20v20Z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const ChevronRightSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const ChevronRightSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const CloseSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const CloseSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const CutSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const CutSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="M12.14 9.342L7.37 2.329a.75.75 0 1 0-1.24.844l5.13 7.545l-2.395 3.743a4 4 0 1 0 1.178.943l2.135-3.337l2.065 3.036a4 4 0 1 0 1.261-.813l-2.447-3.597l.002-.002zM4.5 18a2.5 2.5 0 1 1 5 0a2.5 2.5 0 0 1-5 0m10 0a2.5 2.5 0 1 1 5 0a2.5 2.5 0 0 1-5 0m-.562-8.684l3.943-6.162a.75.75 0 1 0-1.263-.808L13.02 7.968z"
|
d="M12.14 9.342L7.37 2.329a.75.75 0 1 0-1.24.844l5.13 7.545l-2.395 3.743a4 4 0 1 0 1.178.943l2.135-3.337l2.065 3.036a4 4 0 1 0 1.261-.813l-2.447-3.597l.002-.002zM4.5 18a2.5 2.5 0 1 1 5 0a2.5 2.5 0 0 1-5 0m10 0a2.5 2.5 0 1 1 5 0a2.5 2.5 0 0 1-5 0m-.562-8.684l3.943-6.162a.75.75 0 1 0-1.263-.808L13.02 7.968z"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const DownloadSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const DownloadSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 24 24">
|
||||||
|
|
||||||
<path fill="currentColor" d="M20,15.5c.55,0,1,.45,1,1v2c0,1.66-1.34,3-3,3H6c-1.66,0-3-1.34-3-3v-2c0-.55.45-1,1-1s1,.45,1,1v2c0,.55.45,1,1,1h12c.55,0,1-.45,1-1v-2c0-.55.45-1,1-1M12,2.5c.55,0,1,.45,1,1v9.59l3.29-3.29c.4-.38,1.03-.37,1.41.02.37.39.37,1,0,1.39l-5,5s-.06.06-.09.08l.09-.08c-.18.18-.42.28-.67.29h-.03s-.03,0-.03,0h-.05s.09,0,.09,0c-.22,0-.44-.07-.62-.21-.03-.02-.06-.05-.09-.08l-5-5c-.38-.4-.37-1.03.02-1.41.39-.37,1-.37,1.39,0l3.29,3.29V3.5c0-.55.45-1,1-1" />
|
<path fill="currentColor" d="M20,15.5c.55,0,1,.45,1,1v2c0,1.66-1.34,3-3,3H6c-1.66,0-3-1.34-3-3v-2c0-.55.45-1,1-1s1,.45,1,1v2c0,.55.45,1,1,1h12c.55,0,1-.45,1-1v-2c0-.55.45-1,1-1M12,2.5c.55,0,1,.45,1,1v9.59l3.29-3.29c.4-.38,1.03-.37,1.41.02.37.39.37,1,0,1.39l-5,5s-.06.06-.09.08l.09-.08c-.18.18-.42.28-.67.29h-.03s-.03,0-.03,0h-.05s.09,0,.09,0c-.22,0-.44-.07-.62-.21-.03-.02-.06-.05-.09-.08l-5-5c-.38-.4-.37-1.03.02-1.41.39-.37,1-.37,1.39,0l3.29,3.29V3.5c0-.55.45-1,1-1" />
|
||||||
</svg>
|
</svg>
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const KeySvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const KeySvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="M7 14q-.825 0-1.412-.587T5 12t.588-1.412T7 10t1.413.588T9 12t-.587 1.413T7 14m0 4q-2.5 0-4.25-1.75T1 12t1.75-4.25T7 6q1.675 0 3.038.825T12.2 9h8.375q.2 0 .388.075t.337.225l2 2q.15.15.212.325t.063.375t-.063.375t-.212.325l-3.175 3.175q-.125.125-.3.2t-.35.1t-.35-.025t-.325-.175L17.5 15l-1.425 1.075q-.125.1-.275.15t-.3.05t-.313-.05t-.287-.15L13.375 15H12.2q-.8 1.35-2.163 2.175T7 18m0-2q1.4 0 2.463-.85T10.875 13H14l1.45 1.025v.013v-.013L17.5 12.5l1.775 1.375L21.15 12h-.012h.012l-1-1v-.012V11h-9.275q-.35-1.3-1.412-2.15T7 8Q5.35 8 4.175 9.175T3 12t1.175 2.825T7 16"
|
d="M7 14q-.825 0-1.412-.587T5 12t.588-1.412T7 10t1.413.588T9 12t-.587 1.413T7 14m0 4q-2.5 0-4.25-1.75T1 12t1.75-4.25T7 6q1.675 0 3.038.825T12.2 9h8.375q.2 0 .388.075t.337.225l2 2q.15.15.212.325t.063.375t-.063.375t-.212.325l-3.175 3.175q-.125.125-.3.2t-.35.1t-.35-.025t-.325-.175L17.5 15l-1.425 1.075q-.125.1-.275.15t-.3.05t-.313-.05t-.287-.15L13.375 15H12.2q-.8 1.35-2.163 2.175T7 18m0-2q1.4 0 2.463-.85T10.875 13H14l1.45 1.025v.013v-.013L17.5 12.5l1.775 1.375L21.15 12h-.012h.012l-1-1v-.012V11h-9.275q-.35-1.3-1.412-2.15T7 8Q5.35 8 4.175 9.175T3 12t1.175 2.825T7 16"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const MeshSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const MeshSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<g
|
<g
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const MoonSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const MoonSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const PasteSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const PasteSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="M12.753 2c1.158 0 2.111.875 2.234 2h1.763a2.25 2.25 0 0 1 2.245 2.096L19 6.25a.75.75 0 0 1-.647.742L18.249 7a.75.75 0 0 1-.742-.647L17.5 6.25a.75.75 0 0 0-.648-.743L16.75 5.5h-2.132a2.24 2.24 0 0 1-1.865.993H9.247a2.24 2.24 0 0 1-1.865-.992L5.25 5.5a.75.75 0 0 0-.743.648L4.5 6.25v13.505c0 .38.282.693.648.743l.102.007h3a.75.75 0 0 1 .743.647l.007.102a.75.75 0 0 1-.75.75h-3a2.25 2.25 0 0 1-2.245-2.095L3 19.755V6.25a2.25 2.25 0 0 1 2.096-2.245L5.25 4h1.763a2.247 2.247 0 0 1 2.234-2zm5.997 6a2.25 2.25 0 0 1 2.245 2.096l.005.154v9.5a2.25 2.25 0 0 1-2.096 2.245L18.75 22h-6.5a2.25 2.25 0 0 1-2.245-2.096L10 19.75v-9.5a2.25 2.25 0 0 1 2.096-2.245L12.25 8zm0 1.5h-6.5a.75.75 0 0 0-.743.648l-.007.102v9.5c0 .38.282.694.648.743l.102.007h6.5a.75.75 0 0 0 .743-.648l.007-.102v-9.5a.75.75 0 0 0-.648-.743zm-5.997-6H9.247a.747.747 0 0 0 0 1.493h3.506a.747.747 0 1 0 0-1.493"
|
d="M12.753 2c1.158 0 2.111.875 2.234 2h1.763a2.25 2.25 0 0 1 2.245 2.096L19 6.25a.75.75 0 0 1-.647.742L18.249 7a.75.75 0 0 1-.742-.647L17.5 6.25a.75.75 0 0 0-.648-.743L16.75 5.5h-2.132a2.24 2.24 0 0 1-1.865.993H9.247a2.24 2.24 0 0 1-1.865-.992L5.25 5.5a.75.75 0 0 0-.743.648L4.5 6.25v13.505c0 .38.282.693.648.743l.102.007h3a.75.75 0 0 1 .743.647l.007.102a.75.75 0 0 1-.75.75h-3a2.25 2.25 0 0 1-2.245-2.095L3 19.755V6.25a2.25 2.25 0 0 1 2.096-2.245L5.25 4h1.763a2.247 2.247 0 0 1 2.234-2zm5.997 6a2.25 2.25 0 0 1 2.245 2.096l.005.154v9.5a2.25 2.25 0 0 1-2.096 2.245L18.75 22h-6.5a2.25 2.25 0 0 1-2.245-2.096L10 19.75v-9.5a2.25 2.25 0 0 1 2.096-2.245L12.25 8zm0 1.5h-6.5a.75.75 0 0 0-.743.648l-.007.102v9.5c0 .38.282.694.648.743l.102.007h6.5a.75.75 0 0 0 .743-.648l.007-.102v-9.5a.75.75 0 0 0-.648-.743zm-5.997-6H9.247a.747.747 0 0 0 0 1.493h3.506a.747.747 0 1 0 0-1.493"
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
export const RadioboxCheckedSvg = () => (
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12"
|
||||||
|
></path>
|
||||||
|
<path fill="currentColor" d="M16 10a6 6 0 1 0 6 6a6 6 0 0 0-6-6"></path>
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
export const RadioboxUncheckedSvg = () => (
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
||||||
|
<path
|
||||||
|
fill="currentColor"
|
||||||
|
d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12"
|
||||||
|
></path>
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const RulerSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const RulerSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const SearchSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const SearchSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="M9.5 16q-2.725 0-4.612-1.888T3 9.5t1.888-4.612T9.5 3t4.613 1.888T16 9.5q0 1.1-.35 2.075T14.7 13.3l5.6 5.6q.275.275.275.7t-.275.7t-.7.275t-.7-.275l-5.6-5.6q-.75.6-1.725.95T9.5 16m0-2q1.875 0 3.188-1.312T14 9.5t-1.312-3.187T9.5 5T6.313 6.313T5 9.5t1.313 3.188T9.5 14"
|
d="M9.5 16q-2.725 0-4.612-1.888T3 9.5t1.888-4.612T9.5 3t4.613 1.888T16 9.5q0 1.1-.35 2.075T14.7 13.3l5.6 5.6q.275.275.275.7t-.275.7t-.7.275t-.7-.275l-5.6-5.6q-.75.6-1.725.95T9.5 16m0-2q1.875 0 3.188-1.312T14 9.5t-1.312-3.187T9.5 5T6.313 6.313T5 9.5t1.313 3.188T9.5 14"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const SettingSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const SettingSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
fillRule="evenodd"
|
fillRule="evenodd"
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
export const SpinnerSvg = (props: React.SVGProps<SVGSVGElement>) => {
|
export const SpinnerSvg = () => {
|
||||||
return (
|
return (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z"
|
d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const SunSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const SunSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
export const UserSvg = (props: React.SVGProps<SVGSVGElement>) => {
|
export const UserSvg = () => {
|
||||||
return (
|
return (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const VolumeHighSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const VolumeHighSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const VolumeLowSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const VolumeLowSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" >
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
export const VolumeMuteSvg = (props: React.SVGProps<SVGSVGElement>) => (
|
export const VolumeMuteSvg = () => (
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" {...props}>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" >
|
||||||
<path
|
<path
|
||||||
fill="none"
|
fill="none"
|
||||||
stroke="currentColor"
|
stroke="currentColor"
|
||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
import { mergeClass } from "../../styles/utils/merge-class";
|
import { mergeClass } from "../../styles/utils/merge-class";
|
||||||
import { displayRecipe } from "../../styles/recipes/display-recipe";
|
import { displayRecipe } from "../../styles/recipes/display-recipe";
|
||||||
import { dotSizeRecipe } from "../../styles/recipes/dot-size-recipe";
|
import { dotSizeRecipe } from "../../styles/recipes/dot-size-recipe";
|
||||||
import type { CommonProps } from "../../utils/CommonProps";
|
import type { CommonProps } from "../../utils/common-props";
|
||||||
import { brandRecipe } from "../../styles/recipes/brand-recipe";
|
import { brandRecipe } from "../../styles/recipes/brand-recipe";
|
||||||
|
|
||||||
export type BadgeProps = CommonProps & {
|
export type BadgeProps = CommonProps & {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user