sard-uniapp 1.19.2 → 1.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/components/accordion/README.md +91 -0
- package/components/accordion/accordion.vue +7 -0
- package/components/accordion-item/accordion-item.vue +9 -0
- package/components/action-sheet/README.md +85 -0
- package/components/action-sheet/action-sheet.vue +15 -0
- package/components/alert/README.md +74 -0
- package/components/alert/alert.vue +10 -0
- package/components/avatar/README.md +86 -0
- package/components/avatar/avatar.vue +8 -0
- package/components/back-top/README.md +134 -0
- package/components/back-top/back-top.vue +9 -0
- package/components/badge/README.md +95 -0
- package/components/badge/badge.vue +11 -0
- package/components/button/README.md +162 -0
- package/components/button/button.vue +46 -0
- package/components/calendar/README.md +97 -0
- package/components/calendar/calendar.vue +29 -1
- package/components/calendar/common.d.ts +6 -0
- package/components/calendar-input/README.md +65 -0
- package/components/calendar-input/calendar-input.vue +40 -0
- package/components/calendar-month/calendar-month.vue +5 -2
- package/components/calendar-popout/README.md +100 -0
- package/components/calendar-popout/calendar-popout.vue +35 -1
- package/components/card/README.md +82 -0
- package/components/card/card.vue +9 -0
- package/components/cascader/README.md +117 -0
- package/components/cascader/cascader.vue +13 -0
- package/components/cascader-input/README.md +51 -0
- package/components/cascader-input/cascader-input.vue +25 -0
- package/components/cascader-popout/README.md +53 -0
- package/components/cascader-popout/cascader-popout.vue +19 -0
- package/components/checkbox/README.md +185 -0
- package/components/checkbox/checkbox.vue +17 -0
- package/components/checkbox-group/checkbox-group.vue +15 -0
- package/components/checkbox-input/README.md +44 -0
- package/components/checkbox-input/checkbox-input.vue +22 -0
- package/components/checkbox-popout/README.md +52 -0
- package/components/checkbox-popout/checkbox-popout.vue +19 -0
- package/components/col/col.vue +7 -0
- package/components/collapse/README.md +45 -0
- package/components/collapse/collapse.vue +3 -0
- package/components/config/index.d.ts +2 -0
- package/components/config/index.js +1 -0
- package/components/count-down/README.md +97 -0
- package/components/count-down/count-down.vue +8 -0
- package/components/count-to/README.md +61 -0
- package/components/count-to/count-to.vue +7 -0
- package/components/crop-image/README.md +86 -0
- package/components/crop-image/crop-image.vue +15 -0
- package/components/datetime-picker/README.md +136 -0
- package/components/datetime-picker/datetime-picker.vue +14 -0
- package/components/datetime-picker-input/README.md +82 -0
- package/components/datetime-picker-input/datetime-picker-input.vue +25 -0
- package/components/datetime-picker-popout/README.md +77 -0
- package/components/datetime-picker-popout/datetime-picker-popout.vue +19 -0
- package/components/datetime-range-picker/README.md +49 -0
- package/components/datetime-range-picker/datetime-range-picker.vue +15 -0
- package/components/datetime-range-picker-input/README.md +58 -0
- package/components/datetime-range-picker-input/datetime-range-picker-input.vue +26 -0
- package/components/datetime-range-picker-popout/README.md +53 -0
- package/components/datetime-range-picker-popout/datetime-range-picker-popout.vue +20 -0
- package/components/dialog/README.md +192 -0
- package/components/dialog/dialog.vue +33 -0
- package/components/dialog-agent/dialog-agent.vue +21 -0
- package/components/divider/README.md +80 -0
- package/components/divider/divider.vue +8 -0
- package/components/dropdown/README.md +168 -0
- package/components/dropdown/common.d.ts +7 -0
- package/components/dropdown/common.js +1 -0
- package/components/dropdown/dropdown.vue +16 -1
- package/components/dropdown-item/dropdown-item.vue +51 -4
- package/components/empty/README.md +71 -0
- package/components/empty/empty.vue +8 -0
- package/components/fab/README.md +111 -0
- package/components/fab/fab.vue +18 -0
- package/components/floating-bubble/README.md +70 -0
- package/components/floating-bubble/floating-bubble.vue +11 -0
- package/components/floating-panel/README.md +78 -0
- package/components/floating-panel/floating-panel.vue +11 -0
- package/components/form/README.md +308 -0
- package/components/form/form.vue +19 -0
- package/components/form-item/form-item.vue +17 -0
- package/components/grid/README.md +140 -0
- package/components/grid/grid.vue +11 -0
- package/components/grid-item/grid-item.vue +15 -0
- package/components/icon/README.md +118 -0
- package/components/icon/common.d.ts +2 -0
- package/components/icon/icon.d.ts +1 -0
- package/components/icon/icon.vue +18 -3
- package/components/indexes/README.md +83 -0
- package/components/indexes/indexes.vue +7 -0
- package/components/indexes-anchor/indexes-anchor.vue +5 -0
- package/components/input/README.md +170 -0
- package/components/input/input.vue +55 -0
- package/components/keyboard/README.md +82 -0
- package/components/keyboard/keyboard.vue +7 -0
- package/components/layout/README.md +89 -0
- package/components/list/README.md +118 -0
- package/components/list/list.vue +8 -0
- package/components/list-item/list-item.vue +15 -0
- package/components/load-more/README.md +75 -0
- package/components/load-more/load-more.vue +11 -0
- package/components/loading/README.md +89 -0
- package/components/loading/loading.vue +13 -0
- package/components/lucky-draw/README.md +174 -0
- package/components/marquee/README.md +65 -0
- package/components/marquee/marquee.vue +7 -0
- package/components/menu/_README.md +61 -0
- package/components/navbar/README.md +123 -0
- package/components/navbar/navbar.vue +11 -0
- package/components/navbar-item/navbar-item.vue +10 -0
- package/components/notice-bar/README.md +135 -0
- package/components/notice-bar/notice-bar.vue +17 -0
- package/components/notify/README.md +118 -0
- package/components/notify/notify.vue +11 -0
- package/components/notify-agent/notify-agent.vue +12 -0
- package/components/overlay/README.md +56 -0
- package/components/overlay/overlay.vue +10 -0
- package/components/pagination/README.md +80 -0
- package/components/pagination/pagination.vue +15 -0
- package/components/password-input/README.md +87 -0
- package/components/password-input/password-input.vue +17 -0
- package/components/picker/README.md +115 -0
- package/components/picker/picker.vue +10 -0
- package/components/picker-input/README.md +51 -0
- package/components/picker-input/picker-input.vue +21 -0
- package/components/picker-popout/README.md +51 -0
- package/components/picker-popout/picker-popout.vue +15 -0
- package/components/popout/README.md +111 -0
- package/components/popout/popout.vue +29 -0
- package/components/popout-input/README.md +55 -0
- package/components/popout-input/popout-input.vue +15 -0
- package/components/popover/README.md +191 -0
- package/components/popover/popover.vue +15 -0
- package/components/popover-reference/popover-reference.vue +5 -0
- package/components/popup/README.md +67 -0
- package/components/popup/popup.vue +20 -0
- package/components/progress-bar/README.md +90 -0
- package/components/progress-bar/progress-bar.vue +13 -0
- package/components/progress-circle/README.md +75 -0
- package/components/progress-circle/progress-circle.vue +10 -0
- package/components/pull-down-refresh/README.md +100 -0
- package/components/pull-down-refresh/pull-down-refresh.vue +11 -0
- package/components/qrcode/README.md +103 -0
- package/components/qrcode/qrcode.vue +13 -0
- package/components/radio/README.md +172 -0
- package/components/radio/radio.vue +13 -0
- package/components/radio-group/radio-group.vue +16 -0
- package/components/radio-input/README.md +44 -0
- package/components/radio-input/radio-input.vue +23 -0
- package/components/radio-popout/README.md +52 -0
- package/components/radio-popout/radio-popout.vue +20 -0
- package/components/rate/README.md +106 -0
- package/components/rate/rate.vue +22 -0
- package/components/result/README.md +66 -0
- package/components/result/result.vue +10 -0
- package/components/row/row.vue +7 -0
- package/components/scroll-spy/README.md +70 -0
- package/components/scroll-spy/scroll-spy.vue +13 -0
- package/components/search/README.md +117 -0
- package/components/search/search.vue +25 -0
- package/components/share-sheet/README.md +94 -0
- package/components/share-sheet/share-sheet.vue +20 -0
- package/components/sidebar/README.md +118 -0
- package/components/sidebar/sidebar.vue +10 -0
- package/components/sidebar-item/sidebar-item.vue +8 -0
- package/components/signature/README.md +99 -0
- package/components/signature/signature.vue +20 -0
- package/components/skeleton/README.md +128 -0
- package/components/skeleton/skeleton.vue +12 -0
- package/components/skeleton-avatar/skeleton-avatar.vue +9 -0
- package/components/skeleton-block/skeleton-block.vue +8 -0
- package/components/skeleton-paragraph/skeleton-paragraph.vue +9 -0
- package/components/skeleton-title/skeleton-title.vue +8 -0
- package/components/slider/README.md +140 -0
- package/components/slider/slider.vue +29 -0
- package/components/space/README.md +82 -0
- package/components/space/space.vue +9 -0
- package/components/status-bar/README.md +72 -0
- package/components/status-bar/status-bar.vue +6 -0
- package/components/step/step.vue +9 -1
- package/components/stepper/README.md +94 -0
- package/components/stepper/stepper.vue +24 -0
- package/components/steps/README.md +142 -0
- package/components/steps/steps.vue +15 -0
- package/components/style/README.md +20 -0
- package/components/swipe-action/README.md +82 -0
- package/components/swipe-action/swipe-action.vue +7 -0
- package/components/swiper-dot/README.md +45 -0
- package/components/swiper-dot/swiper-dot.vue +9 -0
- package/components/switch/README.md +89 -0
- package/components/switch/switch.vue +18 -0
- package/components/tab/tab.vue +8 -0
- package/components/tabbar/README.md +111 -0
- package/components/tabbar/tabbar.vue +12 -0
- package/components/tabbar-item/tabbar-item.vue +12 -0
- package/components/tabbar-pit/README.md +41 -0
- package/components/tabbar-pit/tabbar-pit.vue +5 -0
- package/components/table/README.md +162 -0
- package/components/table/table.vue +7 -0
- package/components/table-cell/table-cell.vue +7 -0
- package/components/table-row/table-row.vue +5 -0
- package/components/tabs/README.md +113 -0
- package/components/tabs/tabs.vue +10 -0
- package/components/tag/README.md +96 -0
- package/components/tag/tag.vue +14 -0
- package/components/timeline/README.md +66 -0
- package/components/timeline/timeline.vue +4 -0
- package/components/timeline-item/timeline-item.vue +9 -0
- package/components/toast/README.md +111 -0
- package/components/toast/toast.vue +11 -0
- package/components/toast-agent/toast-agent.vue +11 -0
- package/components/tree/README.md +208 -0
- package/components/tree/tree.vue +21 -0
- package/components/upload/README.md +154 -0
- package/components/upload/upload.vue +22 -0
- package/package.json +74 -45
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: StatusBar
|
|
4
|
+
subtitle: 状态栏
|
|
5
|
+
group: 布局
|
|
6
|
+
version: 1.12+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 介绍
|
|
10
|
+
|
|
11
|
+
用于自定义导航栏时的状态栏占位,`Navbar`、`Notify` 等定位在顶部的元素会使用到。
|
|
12
|
+
|
|
13
|
+
状态栏高度是通过 `uni.getSystemInfoSync().statusBarHeight` 获取的,在 `app`, `h5` 和小程序都可以直接使用,在 `h5` 端状态栏高度为 0,其他两个端为设备的状态栏的高度。
|
|
14
|
+
|
|
15
|
+
@info
|
|
16
|
+
如果应用是嵌套在 `app` 的 `webview` 中,`uniapp` 提供的接口获取的状态栏高度跟 `h5` 一样,都是 0;如果要全屏展示,则需要 `app` 原生那边提供接口来获取状态栏高度。
|
|
17
|
+
|
|
18
|
+
针对此场景,要使 `StatusBar` 正常使用,需要全局设置 `StatusBar` 组件的 `height` 属性,且要设置为一个 `css` 变量,在获取到手机状态栏高度时,将其声明到 `html` 元素上。举例如下:
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
// main.ts
|
|
22
|
+
|
|
23
|
+
// 1. 全局设置 `StatusBar` 组件的 `height` 属性
|
|
24
|
+
// !!! 切记变量名不要设置为 `--status-bar-height`,避免被 uniapp 覆盖掉。
|
|
25
|
+
import { setConfig } from 'sard-uniapp'
|
|
26
|
+
setConfig({
|
|
27
|
+
statusBar: {
|
|
28
|
+
height: 'var(--app-status-bar-height)',
|
|
29
|
+
},
|
|
30
|
+
})
|
|
31
|
+
|
|
32
|
+
// 2. 获取状态栏高度
|
|
33
|
+
// 假设接口如下
|
|
34
|
+
const statusBarHeight = window.toggle.getBarHeight()
|
|
35
|
+
|
|
36
|
+
// 3. 声明到 html 元素上
|
|
37
|
+
document.documentElement.style.setProperty(
|
|
38
|
+
'--app-status-bar-height',
|
|
39
|
+
statusBarHeight + 'px',
|
|
40
|
+
)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
@endinfo
|
|
44
|
+
|
|
45
|
+
## 引入
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
import StatusBar from 'sard-uniapp/components/status-bar/status-bar.vue'
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## 代码演示
|
|
52
|
+
|
|
53
|
+
### 基础使用
|
|
54
|
+
|
|
55
|
+
@code('${DEMO_PATH}/status-bar/demo/Basic.vue')
|
|
56
|
+
|
|
57
|
+
## API
|
|
58
|
+
|
|
59
|
+
### StatusBarProps
|
|
60
|
+
|
|
61
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
62
|
+
| ---------- | -------------------- | ---------- | ------ |
|
|
63
|
+
| root-class | 组件根元素类名 | string | - |
|
|
64
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
65
|
+
| height | 手动设置状态栏高度, | string | - |
|
|
66
|
+
| reverse | 设置宽度而不是高度 | boolean | false |
|
|
67
|
+
|
|
68
|
+
### StatusBarSlots
|
|
69
|
+
|
|
70
|
+
| 插槽 | 描述 | 属性 |
|
|
71
|
+
| ------- | -------------- | ---- |
|
|
72
|
+
| default | 自定义默认内容 | - |
|
|
@@ -16,6 +16,12 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
defaultStatusBarProps
|
|
18
18
|
} from "./common";
|
|
19
|
+
/**
|
|
20
|
+
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
21
|
+
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
22
|
+
* @property {string} height 手动设置状态栏高度,,默认值:-。
|
|
23
|
+
* @property {boolean} reverse 设置宽度而不是高度,默认值:false。
|
|
24
|
+
*/
|
|
19
25
|
export default _defineComponent({
|
|
20
26
|
...{
|
|
21
27
|
options: {
|
package/components/step/step.vue
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<view :class="bem.e('icon')">
|
|
6
6
|
<slot name="icon" :status="currentStatus">
|
|
7
7
|
<sar-icon
|
|
8
|
-
:family="context.iconFamily"
|
|
8
|
+
:family="context.iconFamily || 'sari'"
|
|
9
9
|
:name="statusIcon"
|
|
10
10
|
:size="context.iconSize"
|
|
11
11
|
/>
|
|
@@ -30,6 +30,14 @@ import { computed, inject } from "vue";
|
|
|
30
30
|
import SarIcon from "../icon/icon.vue";
|
|
31
31
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
32
32
|
import { stepsContextSymbol } from "../steps/common";
|
|
33
|
+
/**
|
|
34
|
+
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
35
|
+
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
36
|
+
* @property {StepsStatus} status 自定义状态,默认值:-。
|
|
37
|
+
* @property {string} name 步骤名称,默认值:-。
|
|
38
|
+
* @property {string} description 步骤描述,默认值:-。
|
|
39
|
+
* @property {number} index 步骤下标(必填),默认值:-。
|
|
40
|
+
*/
|
|
33
41
|
export default _defineComponent({
|
|
34
42
|
components: {
|
|
35
43
|
SarIcon,
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: Stepper
|
|
4
|
+
subtitle: 步进器
|
|
5
|
+
group: 表单组件
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 介绍
|
|
9
|
+
|
|
10
|
+
通过键盘或按钮输入或改变数值。
|
|
11
|
+
|
|
12
|
+
## 引入
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import Stepper from 'sard-uniapp/components/stepper/stepper.vue'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 代码演示
|
|
19
|
+
|
|
20
|
+
### 基础使用
|
|
21
|
+
|
|
22
|
+
使用 `v-model` 绑定输入框值。
|
|
23
|
+
|
|
24
|
+
@code('${DEMO_PATH}/stepper/demo/Basic.vue')
|
|
25
|
+
|
|
26
|
+
### 最大最小值
|
|
27
|
+
|
|
28
|
+
使用 `min` 和 `max` 属性限制可以输入的最大最小值。
|
|
29
|
+
|
|
30
|
+
@code('${DEMO_PATH}/stepper/demo/MinMax.vue')
|
|
31
|
+
|
|
32
|
+
### 步长
|
|
33
|
+
|
|
34
|
+
使用 `step` 属性设置点击增加或减少按钮时变化的值。
|
|
35
|
+
|
|
36
|
+
@code('${DEMO_PATH}/stepper/demo/Step.vue')
|
|
37
|
+
|
|
38
|
+
### 精度
|
|
39
|
+
|
|
40
|
+
使用 `precision` 属性设置数值的精度,即保留的小数位数,底层通过 `toFixed` 实现,因此需要设置大于等于 0 的整数。
|
|
41
|
+
|
|
42
|
+
@code('${DEMO_PATH}/stepper/demo/Precision.vue')
|
|
43
|
+
|
|
44
|
+
### 只读和禁用
|
|
45
|
+
|
|
46
|
+
只读或禁用时无法输入。
|
|
47
|
+
|
|
48
|
+
@code('${DEMO_PATH}/stepper/demo/DisabledReadOnly.vue')
|
|
49
|
+
|
|
50
|
+
### 尺寸
|
|
51
|
+
|
|
52
|
+
设置 `size="small"` 可以小尺寸展示步进器。
|
|
53
|
+
|
|
54
|
+
@code('${DEMO_PATH}/stepper/demo/Size.vue')
|
|
55
|
+
|
|
56
|
+
## API
|
|
57
|
+
|
|
58
|
+
### StepperProps
|
|
59
|
+
|
|
60
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
61
|
+
| --------------------- | ------------------------------------- | -------------------------------- | ----------------------- |
|
|
62
|
+
| root-class | 组件根元素类名 | string | - |
|
|
63
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
64
|
+
| model-value (v-model) | 当前输入值 | number \| string | - |
|
|
65
|
+
| min | 最小值 | number | Number.MIN_SAFE_INTEGER |
|
|
66
|
+
| max | 最大值 | number | Number.MAX_SAFE_INTEGER |
|
|
67
|
+
| value-on-clear | 当输入框被清空时显示的值 | number \| null \| 'min' \| 'max' | null |
|
|
68
|
+
| step | 点击按钮时增加或减少的数值 | number | 1 |
|
|
69
|
+
| precision | 数值精度,即允许的小数位数 | number | - |
|
|
70
|
+
| input-style | 输入框样式 | string | - |
|
|
71
|
+
| input-type | 输入框类型 | 'number' \| 'digit' \| 'text' | 'number' |
|
|
72
|
+
| placeholder | 输入框占位符 | string | - |
|
|
73
|
+
| disabled | 禁用状态 | boolean | false |
|
|
74
|
+
| readonly | 只读状态 | boolean | false |
|
|
75
|
+
| press | 是否可以通过长按增加/减少按钮改变数值 | boolean | true |
|
|
76
|
+
| press-time | 触发长按事件的时间,单位毫秒 | boolean | 350 |
|
|
77
|
+
| interval | 长按改变数值的时间间隔,单位毫秒 | number | 150 |
|
|
78
|
+
| validate-event | 是否触发表单验证 | boolean | true |
|
|
79
|
+
| size | 步进器尺寸 | 'medium' \| 'small' | 'medium' |
|
|
80
|
+
|
|
81
|
+
### StepperEmits
|
|
82
|
+
|
|
83
|
+
| 事件 | 描述 | 类型 |
|
|
84
|
+
| ------------------------ | ------------------ | ---------------------------------------------- |
|
|
85
|
+
| update:model-value | 输入框值改变时触发 | (value: number \| string \| undefined) => void |
|
|
86
|
+
| change <sup>1.9.2+</sup> | 输入框值改变时触发 | (value: number \| string \| undefined) => void |
|
|
87
|
+
| focus | 输入框聚焦时触发 | (event: any) => void |
|
|
88
|
+
| blur | 输入框失焦时触发 | (event: any) => void |
|
|
89
|
+
|
|
90
|
+
## 主题定制
|
|
91
|
+
|
|
92
|
+
### CSS 变量
|
|
93
|
+
|
|
94
|
+
@code('./variables.scss#variables')
|
|
@@ -64,6 +64,30 @@ import { useFormContext, useFormItemContext } from "../form/common";
|
|
|
64
64
|
import {
|
|
65
65
|
defaultStepperProps
|
|
66
66
|
} from "./common";
|
|
67
|
+
/**
|
|
68
|
+
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
69
|
+
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
70
|
+
* @property {number | string} modelValue 当前输入值,默认值:-。
|
|
71
|
+
* @property {number} min 最小值,默认值:Number.MIN_SAFE_INTEGER。
|
|
72
|
+
* @property {number} max 最大值,默认值:Number.MAX_SAFE_INTEGER。
|
|
73
|
+
* @property {number | null | 'min' | 'max'} valueOnClear 当输入框被清空时显示的值,默认值:null。
|
|
74
|
+
* @property {number} step 点击按钮时增加或减少的数值,默认值:1。
|
|
75
|
+
* @property {number} precision 数值精度,即允许的小数位数,默认值:-。
|
|
76
|
+
* @property {string} inputStyle 输入框样式,默认值:-。
|
|
77
|
+
* @property {'number' | 'digit' | 'text'} inputType 输入框类型,默认值:'number'。
|
|
78
|
+
* @property {string} placeholder 输入框占位符,默认值:-。
|
|
79
|
+
* @property {boolean} disabled 禁用状态,默认值:false。
|
|
80
|
+
* @property {boolean} readonly 只读状态,默认值:false。
|
|
81
|
+
* @property {boolean} press 是否可以通过长按增加/减少按钮改变数值,默认值:true。
|
|
82
|
+
* @property {boolean} pressTime 触发长按事件的时间,单位毫秒,默认值:350。
|
|
83
|
+
* @property {number} interval 长按改变数值的时间间隔,单位毫秒,默认值:150。
|
|
84
|
+
* @property {boolean} validateEvent 是否触发表单验证,默认值:true。
|
|
85
|
+
* @property {'medium' | 'small'} size 步进器尺寸,默认值:'medium'。
|
|
86
|
+
* @event {(value: number | string | undefined) => void} update 输入框值改变时触发
|
|
87
|
+
* @event {(value: number | string | undefined) => void} change 输入框值改变时触发
|
|
88
|
+
* @event {(event: any) => void} focus 输入框聚焦时触发
|
|
89
|
+
* @event {(event: any) => void} blur 输入框失焦时触发
|
|
90
|
+
*/
|
|
67
91
|
export default _defineComponent({
|
|
68
92
|
components: {
|
|
69
93
|
SarIcon,
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: Steps
|
|
4
|
+
subtitle: 步骤条
|
|
5
|
+
group: 导航组件
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 介绍
|
|
9
|
+
|
|
10
|
+
引导用户按照流程完成任务的分步导航条。
|
|
11
|
+
|
|
12
|
+
## 引入
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import Steps from 'sard-uniapp/components/steps/steps.vue'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 代码演示
|
|
19
|
+
|
|
20
|
+
### 基础使用
|
|
21
|
+
|
|
22
|
+
使用 `current` 属性指定步骤的下标,小于这个下标的步骤状态为 `finish`,等于这个下标的步骤状态为 `process`,大于这个下标的步骤状态为 `wait`。
|
|
23
|
+
|
|
24
|
+
@code('${DEMO_PATH}/steps/demo/Basic.vue')
|
|
25
|
+
|
|
26
|
+
### 居中
|
|
27
|
+
|
|
28
|
+
居中每个步骤的图标和文案。
|
|
29
|
+
|
|
30
|
+
@code('${DEMO_PATH}/steps/demo/Center.vue')
|
|
31
|
+
|
|
32
|
+
### 垂直步骤条
|
|
33
|
+
|
|
34
|
+
设置 `direction="vertical"` 可以垂直排列。
|
|
35
|
+
|
|
36
|
+
@code('${DEMO_PATH}/steps/demo/Vertical.vue')
|
|
37
|
+
|
|
38
|
+
### 垂直居中
|
|
39
|
+
|
|
40
|
+
将图标和文案垂直居中。
|
|
41
|
+
|
|
42
|
+
@code('${DEMO_PATH}/steps/demo/VerticalCenter.vue')
|
|
43
|
+
|
|
44
|
+
### 自定义图标
|
|
45
|
+
|
|
46
|
+
使用 `finishIcon, processIcon, waitIcon, errorIcon` 属性设置不通状态下的图标。
|
|
47
|
+
|
|
48
|
+
@code('${DEMO_PATH}/steps/demo/Icon.vue')
|
|
49
|
+
|
|
50
|
+
### 自定义颜色
|
|
51
|
+
|
|
52
|
+
使用 `css` 变量设置元素样式。
|
|
53
|
+
|
|
54
|
+
@code('${DEMO_PATH}/steps/demo/Color.vue')
|
|
55
|
+
|
|
56
|
+
### 当前步骤状态
|
|
57
|
+
|
|
58
|
+
可以设置当前处理中的步骤的状态为 `finish` 来模拟只有“未处理”和“已处理”两个状态的步骤条。
|
|
59
|
+
|
|
60
|
+
@code('${DEMO_PATH}/steps/demo/Status.vue')
|
|
61
|
+
|
|
62
|
+
### 错误步骤
|
|
63
|
+
|
|
64
|
+
可以设置当前处理中的步骤的状态为 `error` 表示步骤运行错误。
|
|
65
|
+
|
|
66
|
+
@code('${DEMO_PATH}/steps/demo/ErrorStatus.vue')
|
|
67
|
+
|
|
68
|
+
### 自定义各步骤状态
|
|
69
|
+
|
|
70
|
+
每个步骤都可以使用 `status` 属性设置其状态。
|
|
71
|
+
|
|
72
|
+
@code('${DEMO_PATH}/steps/demo/StepStatus.vue')
|
|
73
|
+
|
|
74
|
+
### 默认插槽
|
|
75
|
+
|
|
76
|
+
版本 `1.17.1+` 可使用 `Step` 组件实现自定义内容,必须传递 `index` 属性。
|
|
77
|
+
|
|
78
|
+
@code('${DEMO_PATH}/steps/demo/Slot.vue')
|
|
79
|
+
|
|
80
|
+
## API
|
|
81
|
+
|
|
82
|
+
### StepsProps
|
|
83
|
+
|
|
84
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
85
|
+
| ------------ | -------------------- | -------------------------- | ------------ |
|
|
86
|
+
| root-class | 组件根元素类名 | string | - |
|
|
87
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
88
|
+
| current | 当前步骤对应的索引值 | number | 0 |
|
|
89
|
+
| item-list | 所有步骤的数据 | StepsItem[] | [] |
|
|
90
|
+
| center | 是否居中 | boolean | false |
|
|
91
|
+
| direction | 排列方向 | 'vertical' \| 'horizontal' | 'horizontal' |
|
|
92
|
+
| status | 指定当前步骤的状态 | StepsStatus | - |
|
|
93
|
+
| icon-family | 图标字体 | string | - |
|
|
94
|
+
| icon-size | 图标字号 | string | - |
|
|
95
|
+
| finish-icon | 已完成状态的图标名称 | string | - |
|
|
96
|
+
| process-icon | 处理中状态的图标名称 | string | - |
|
|
97
|
+
| wait-icon | 等待中状态的图标名称 | string | - |
|
|
98
|
+
| error-icon | 错误状态的图标名称 | string | - |
|
|
99
|
+
|
|
100
|
+
### StepsSlots
|
|
101
|
+
|
|
102
|
+
| 插槽 | 描述 | 属性 |
|
|
103
|
+
| ------- | -------------- | ---- |
|
|
104
|
+
| default | 自定义默认内容 | - |
|
|
105
|
+
|
|
106
|
+
### StepProps
|
|
107
|
+
|
|
108
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
109
|
+
| ----------- | ---------------- | ----------- | ------ |
|
|
110
|
+
| root-class | 组件根元素类名 | string | - |
|
|
111
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
112
|
+
| status | 自定义状态 | StepsStatus | - |
|
|
113
|
+
| name | 步骤名称 | string | - |
|
|
114
|
+
| description | 步骤描述 | string | - |
|
|
115
|
+
| index | 步骤下标(必填) | number | - |
|
|
116
|
+
|
|
117
|
+
### StepSlots
|
|
118
|
+
|
|
119
|
+
| 插槽 | 描述 | 属性 |
|
|
120
|
+
| ------- | -------------- | ----------------------- |
|
|
121
|
+
| default | 自定义默认内容 | { status: StepsStatus } |
|
|
122
|
+
| icon | 自定义图标内容 | { status: StepsStatus } |
|
|
123
|
+
|
|
124
|
+
### StepsItem
|
|
125
|
+
|
|
126
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
127
|
+
| ----------- | ---------- | ----------- | ------ |
|
|
128
|
+
| status | 自定义状态 | StepsStatus | - |
|
|
129
|
+
| name | 步骤名称 | string | - |
|
|
130
|
+
| description | 步骤描述 | string | - |
|
|
131
|
+
|
|
132
|
+
### StepsStatus
|
|
133
|
+
|
|
134
|
+
```ts
|
|
135
|
+
type StepsStatus = 'wait' | 'process' | 'error' | 'finish'
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## 主题定制
|
|
139
|
+
|
|
140
|
+
### CSS 变量
|
|
141
|
+
|
|
142
|
+
@code('./variables.scss#variables')
|
|
@@ -22,6 +22,21 @@ import {
|
|
|
22
22
|
defaultStepsProps,
|
|
23
23
|
stepsContextSymbol
|
|
24
24
|
} from "./common";
|
|
25
|
+
/**
|
|
26
|
+
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
27
|
+
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
28
|
+
* @property {number} current 当前步骤对应的索引值,默认值:0。
|
|
29
|
+
* @property {StepsItem[]} itemList 所有步骤的数据,默认值:[]。
|
|
30
|
+
* @property {boolean} center 是否居中,默认值:false。
|
|
31
|
+
* @property {'vertical' | 'horizontal'} direction 排列方向,默认值:'horizontal'。
|
|
32
|
+
* @property {StepsStatus} status 指定当前步骤的状态,默认值:-。
|
|
33
|
+
* @property {string} iconFamily 图标字体,默认值:-。
|
|
34
|
+
* @property {string} iconSize 图标字号,默认值:-。
|
|
35
|
+
* @property {string} finishIcon 已完成状态的图标名称,默认值:-。
|
|
36
|
+
* @property {string} processIcon 处理中状态的图标名称,默认值:-。
|
|
37
|
+
* @property {string} waitIcon 等待中状态的图标名称,默认值:-。
|
|
38
|
+
* @property {string} errorIcon 错误状态的图标名称,默认值:-。
|
|
39
|
+
*/
|
|
25
40
|
export default _defineComponent({
|
|
26
41
|
components: {
|
|
27
42
|
SarStep,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: Style
|
|
4
|
+
subtitle: 样式
|
|
5
|
+
group: 基础组件
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 介绍
|
|
9
|
+
|
|
10
|
+
`sard-uniapp` 为了避免视觉传达差异,各组件用到的一些公用的颜色值、字号、圆角等统一进行了定义,并将变量值添加到 `page, .sar-portal` 选择器以便引用和自定义样式覆盖。
|
|
11
|
+
|
|
12
|
+
可以通过 `CSS` 变量 来组织样式,通过覆盖这些 `CSS` 变量来实现定制样式、动态切换主题等效果。
|
|
13
|
+
|
|
14
|
+
## 通用 CSS 变量
|
|
15
|
+
|
|
16
|
+
@code('./variables.scss#variables')
|
|
17
|
+
|
|
18
|
+
## 通用 CSS 变量 - 暗黑模式
|
|
19
|
+
|
|
20
|
+
@code('./variables-dark.scss#variables')
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: SwipeAction
|
|
4
|
+
subtitle: 滑动操作
|
|
5
|
+
group: 反馈组件
|
|
6
|
+
version: 1.19+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 介绍
|
|
10
|
+
|
|
11
|
+
可以左右滑动来展示操作按钮。
|
|
12
|
+
|
|
13
|
+
## 引入
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
import SwipeAction from 'sard-uniapp/components/swipe-action/swipe-action.vue'
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## 代码演示
|
|
20
|
+
|
|
21
|
+
### 基础使用
|
|
22
|
+
|
|
23
|
+
使用 `left`、`right` 插槽向左右两边添加操作按钮。
|
|
24
|
+
|
|
25
|
+
插槽接收 `hide` 方法来隐藏操作按钮。
|
|
26
|
+
|
|
27
|
+
@code('${DEMO_PATH}/swipe-action/demo/Basic.vue')
|
|
28
|
+
|
|
29
|
+
### 控制显隐
|
|
30
|
+
|
|
31
|
+
使用 `v-model:visible` 属性控制显隐。
|
|
32
|
+
|
|
33
|
+
@code('${DEMO_PATH}/swipe-action/demo/Visible.vue')
|
|
34
|
+
|
|
35
|
+
### 禁止滑动
|
|
36
|
+
|
|
37
|
+
使用 `disabled` 属性来禁用滑动,同时也会禁用点击内容区域隐藏。
|
|
38
|
+
|
|
39
|
+
@code('${DEMO_PATH}/swipe-action/demo/Visible.vue')
|
|
40
|
+
|
|
41
|
+
### 异步关闭
|
|
42
|
+
|
|
43
|
+
插槽按钮可任意定制;利用好 `hide` 方法和 `disabled` 属性,可实现复杂的效果。
|
|
44
|
+
|
|
45
|
+
@code('${DEMO_PATH}/swipe-action/demo/Async.vue')
|
|
46
|
+
|
|
47
|
+
### 结合表单使用
|
|
48
|
+
|
|
49
|
+
下面演示了滑动操作组件如何与表单组件一起使用。
|
|
50
|
+
|
|
51
|
+
@code('${DEMO_PATH}/swipe-action/demo/Form.vue')
|
|
52
|
+
|
|
53
|
+
## API
|
|
54
|
+
|
|
55
|
+
### SwipeActionProps
|
|
56
|
+
|
|
57
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
58
|
+
| ----------------- | -------------- | -------------------------- | ------ |
|
|
59
|
+
| root-class | 组件根元素类名 | string | - |
|
|
60
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
61
|
+
| disabled | 是否禁用滑动 | boolean | false |
|
|
62
|
+
| visible (v-model) | 控制显隐 | 'left' \| 'right' \| false | false |
|
|
63
|
+
|
|
64
|
+
### SwipeActionSlots
|
|
65
|
+
|
|
66
|
+
| 插槽 | 描述 | 属性 |
|
|
67
|
+
| ------- | ------------------ | -------------------- |
|
|
68
|
+
| default | 自定义默认内容 | - |
|
|
69
|
+
| left | 自定义左边操作按钮 | { hide: () => void } |
|
|
70
|
+
| right | 自定义右边操作按钮 | { hide: () => void } |
|
|
71
|
+
|
|
72
|
+
### SwipeActionEmits
|
|
73
|
+
|
|
74
|
+
| 事件 | 描述 | 类型 |
|
|
75
|
+
| -------------- | ------------------ | --------------------------------------------- |
|
|
76
|
+
| update:visible | 操作按钮显隐时触发 | (visible: 'left' \| 'right' \| false) => void |
|
|
77
|
+
|
|
78
|
+
### SwipeActionExpose
|
|
79
|
+
|
|
80
|
+
| 属性 | 描述 | 类型 |
|
|
81
|
+
| ---- | ------------ | ---------- |
|
|
82
|
+
| hide | 隐藏操作按钮 | () => void |
|
|
@@ -44,6 +44,13 @@ import {
|
|
|
44
44
|
getBoundingClientRect
|
|
45
45
|
} from "../../utils";
|
|
46
46
|
import { useMouseDown, useInitialVelocity, useStopMovedClick } from "../../use";
|
|
47
|
+
/**
|
|
48
|
+
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
49
|
+
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
50
|
+
* @property {boolean} disabled 是否禁用滑动,默认值:false。
|
|
51
|
+
* @property {'left' | 'right' | false} visible 控制显隐,默认值:false。
|
|
52
|
+
* @event {(visible: 'left' | 'right' | false) => void} update 操作按钮显隐时触发
|
|
53
|
+
*/
|
|
47
54
|
export default _defineComponent({
|
|
48
55
|
...{
|
|
49
56
|
options: {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: SwiperDot
|
|
4
|
+
subtitle: 轮播图指示点
|
|
5
|
+
group: 数据展示
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 介绍
|
|
9
|
+
|
|
10
|
+
自定义轮播图指示点。
|
|
11
|
+
|
|
12
|
+
## 引入
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import SwiperDot from 'sard-uniapp/components/swiper-dot/swiper-dot.vue'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 代码演示
|
|
19
|
+
|
|
20
|
+
### 基础使用
|
|
21
|
+
|
|
22
|
+
使用一个相对定位的容器包裹轮播图组件和轮播图指示点组件,
|
|
23
|
+
使用 `current` 属性设置活动指示点,使用 `type` 属性设置指示点类型,使用 `total` 属性设置指示点总数或者使用 `list` 属性设置指示文本(用于 `title` 类型)。
|
|
24
|
+
|
|
25
|
+
@code('${DEMO_PATH}/swiper-dot/demo/Basic.vue')
|
|
26
|
+
|
|
27
|
+
## API
|
|
28
|
+
|
|
29
|
+
### SwiperDotProps
|
|
30
|
+
|
|
31
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
32
|
+
| ---------- | ------------------------------------ | ------------------------------------------------------ | ------- |
|
|
33
|
+
| root-class | 组件根元素类名 | string | - |
|
|
34
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
35
|
+
| type | 指示点类型 | 'dot' \| 'dot-bar' \| 'index' \| 'title' \| 'fraction' | 'dot' |
|
|
36
|
+
| current | 当前指示点索引 | number | 0 |
|
|
37
|
+
| total | 指示点总数 | number | 0 |
|
|
38
|
+
| list | 用于 `title` 类型的文本数据 | any[] | - |
|
|
39
|
+
| field | `type` 为 `title` 时,显示的内容字段 | string | 'title' |
|
|
40
|
+
|
|
41
|
+
## 主题定制
|
|
42
|
+
|
|
43
|
+
### CSS 变量
|
|
44
|
+
|
|
45
|
+
@code('./variables.scss#variables')
|
|
@@ -28,6 +28,15 @@ import { mergeDefaults as _mergeDefaults, defineComponent as _defineComponent }
|
|
|
28
28
|
import { computed } from "vue";
|
|
29
29
|
import { classNames, stringifyStyle, createBem } from "../../utils";
|
|
30
30
|
import { defaultSwiperDotProps } from "./common";
|
|
31
|
+
/**
|
|
32
|
+
* @property {string} rootClass 组件根元素类名,默认值:-。
|
|
33
|
+
* @property {StyleValue} rootStyle 组件根元素样式,默认值:-。
|
|
34
|
+
* @property {'dot' | 'dot-bar' | 'index' | 'title' | 'fraction'} type 指示点类型,默认值:'dot'。
|
|
35
|
+
* @property {number} current 当前指示点索引,默认值:0。
|
|
36
|
+
* @property {number} total 指示点总数,默认值:0。
|
|
37
|
+
* @property {any[]} list 用于 `title` 类型的文本数据,默认值:-。
|
|
38
|
+
* @property {string} field `type` 为 `title` 时,显示的内容字段,默认值:'title'。
|
|
39
|
+
*/
|
|
31
40
|
export default _defineComponent({
|
|
32
41
|
...{
|
|
33
42
|
options: {
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
nav: 组件
|
|
3
|
+
title: Switch
|
|
4
|
+
subtitle: 开关
|
|
5
|
+
group: 表单组件
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 介绍
|
|
9
|
+
|
|
10
|
+
用于打开/关闭两种状态间的切换。
|
|
11
|
+
|
|
12
|
+
## 引入
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import Switch from 'sard-uniapp/components/switch/switch.vue'
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## 代码演示
|
|
19
|
+
|
|
20
|
+
### 基础使用
|
|
21
|
+
|
|
22
|
+
通过 `v-model` 绑定开关的选中状态,`true` 表示开,`false` 表示关。
|
|
23
|
+
|
|
24
|
+
@code('${DEMO_PATH}/switch/demo/Basic.vue')
|
|
25
|
+
|
|
26
|
+
### 自定义尺寸
|
|
27
|
+
|
|
28
|
+
使用 `size` 属性设置开关尺寸。
|
|
29
|
+
|
|
30
|
+
@code('${DEMO_PATH}/switch/demo/Size.vue')
|
|
31
|
+
|
|
32
|
+
### 自定义颜色
|
|
33
|
+
|
|
34
|
+
使用 `checkedColor` 属性设置打开时的颜色,使用 `uncheckedColor` 属性设置关闭时的颜色。
|
|
35
|
+
|
|
36
|
+
@code('${DEMO_PATH}/switch/demo/Color.vue')
|
|
37
|
+
|
|
38
|
+
### 不同状态的值
|
|
39
|
+
|
|
40
|
+
可以设置 `checkedValue` 和 `uncheckedValue` 属性代替默认的 `true` 和 `false`。
|
|
41
|
+
|
|
42
|
+
@code('${DEMO_PATH}/switch/demo/Value.vue')
|
|
43
|
+
|
|
44
|
+
### 只读和禁用
|
|
45
|
+
|
|
46
|
+
只读或禁用时不可操作。
|
|
47
|
+
|
|
48
|
+
@code('${DEMO_PATH}/switch/demo/DisabledReadOnly.vue')
|
|
49
|
+
|
|
50
|
+
### 加载状态
|
|
51
|
+
|
|
52
|
+
当提供 `beforeUpdate` 函数,会在 `fulfilled` 状态后才切换,期间显示加载状态。
|
|
53
|
+
|
|
54
|
+
@code('${DEMO_PATH}/switch/demo/Loading.vue')
|
|
55
|
+
|
|
56
|
+
## API
|
|
57
|
+
|
|
58
|
+
### SwitchProps
|
|
59
|
+
|
|
60
|
+
| 属性 | 描述 | 类型 | 默认值 |
|
|
61
|
+
| --------------------- | ---------------- | ----------------------------- | ------ |
|
|
62
|
+
| root-class | 组件根元素类名 | string | - |
|
|
63
|
+
| root-style | 组件根元素样式 | StyleValue | - |
|
|
64
|
+
| model-value (v-model) | 开关选中状态 | any | - |
|
|
65
|
+
| disabled | 禁用状态 | boolean | false |
|
|
66
|
+
| readonly | 只读状态 | boolean | false |
|
|
67
|
+
| loading (v-model) | 加载状态 | boolean | - |
|
|
68
|
+
| size | 开关大小 | string | - |
|
|
69
|
+
| checked-color | 开启时的颜色 | string | - |
|
|
70
|
+
| unchecked-color | 关闭时的颜色 | string | - |
|
|
71
|
+
| checked-value | 开启时的值 | any | true |
|
|
72
|
+
| unchecked-value | 关闭时的值 | any | false |
|
|
73
|
+
| before-update | 用于异步切换 | (value: any) => Promise\<any> | - |
|
|
74
|
+
| validate-event | 是否触发表单验证 | boolean | true |
|
|
75
|
+
|
|
76
|
+
### SwitchEmits
|
|
77
|
+
|
|
78
|
+
| 事件 | 描述 | 类型 |
|
|
79
|
+
| ------------------------ | -------------------------------------- | -------------------------- |
|
|
80
|
+
| click | 点击按钮时触发,加载和禁用状态不会触发 | (event: any) => void |
|
|
81
|
+
| update:model-value | 开关状态切换时触发 | (value: any) => void |
|
|
82
|
+
| change <sup>1.9.2+</sup> | 开关状态切换时触发 | (value: any) => void |
|
|
83
|
+
| update:loading | 加载状态切换时触发 | (loading: boolean) => void |
|
|
84
|
+
|
|
85
|
+
## 主题定制
|
|
86
|
+
|
|
87
|
+
### CSS 变量
|
|
88
|
+
|
|
89
|
+
@code('./variables.scss#variables')
|