1mpacto-react-ui 0.2.0-beta.9 → 1.0.1
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/dist/assets/_colors.scss +80 -0
- package/dist/assets/_mixins.scss +32 -5
- package/dist/assets/_typography.scss +582 -0
- package/dist/assets/colors.css +40 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/fonts/PlusJakartaSans-Italic.ttf +0 -0
- package/dist/assets/fonts/PlusJakartaSans.ttf +0 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/toast.css +98 -194
- package/dist/assets/typography.css +96 -0
- package/dist/index.cjs +120 -117
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +27703 -27059
- package/dist/package.json.d.ts +46 -47
- package/dist/src/components/Alert/index.d.ts +1 -0
- package/dist/src/components/Badges/Badges.config.d.ts +57 -0
- package/dist/src/components/Badges/Badges.d.ts +1 -0
- package/dist/src/components/Badges/Badges.stories.d.ts +117 -2
- package/dist/src/components/Breadcrumbs/Breadcrumbs.config.d.ts +113 -0
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +2 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +221 -6
- package/dist/src/components/Button/Button.config.d.ts +70 -0
- package/dist/src/components/Button/Button.d.ts +1 -0
- package/dist/src/components/Button/Button.stories.d.ts +129 -4
- package/dist/src/components/ButtonIcon/ButtonIcon.config.d.ts +53 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.d.ts +1 -0
- package/dist/src/components/ButtonIcon/ButtonIcon.stories.d.ts +123 -4
- package/dist/src/components/ButtonPopover/ButtonPopover.d.ts +1 -0
- package/dist/src/components/ButtonPopover/ButtonPopover.stories.d.ts +258 -2
- package/dist/src/components/Calendar/Calendar.d.ts +3 -1
- package/dist/src/components/Calendar/Calendar.stories.d.ts +283 -2
- package/dist/src/components/Calendar/CalendarButton.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarCell.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarMonth.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarRange.d.ts +1 -0
- package/dist/src/components/Calendar/CalendarYear.d.ts +1 -0
- package/dist/src/components/Chart/DoughnutChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientBarChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientBarChart.stories.d.ts +71 -4
- package/dist/src/components/Chart/GradientLineChart.d.ts +1 -0
- package/dist/src/components/Chart/GradientLineChart.stories.d.ts +82 -4
- package/dist/src/components/Chart/LineChart.d.ts +1 -0
- package/dist/src/components/Chart/LineChart.stories.d.ts +35 -2
- package/dist/src/components/Chips/Chips.config.d.ts +35 -0
- package/dist/src/components/Chips/Chips.d.ts +1 -0
- package/dist/src/components/Chips/Chips.stories.d.ts +137 -2
- package/dist/src/components/Collapse/Collapse.d.ts +1 -0
- package/dist/src/components/Collapse/Collapse.stories.d.ts +89 -2
- package/dist/src/components/Collapse/CollapseV2.d.ts +1 -0
- package/dist/src/components/Collapse/CollapseV2.stories.d.ts +59 -2
- package/dist/src/components/Colors/Colors.stories.d.ts +2 -1
- package/dist/src/components/DatePicker/DatePicker.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +221 -2
- package/dist/src/components/DatePicker/DateRangePicker.d.ts +1 -0
- package/dist/src/components/DatePicker/FilterDate.d.ts +2 -1
- package/dist/src/components/DatePicker/FilterDate.stories.d.ts +232 -3
- package/dist/src/components/DatePicker/MonthYearPicker.d.ts +1 -0
- package/dist/src/components/DatePicker/MonthYearPicker.stories.d.ts +198 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.config.d.ts +8 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -0
- package/dist/src/components/ErrorMessage/ErrorMessage.stories.d.ts +39 -2
- package/dist/src/components/FilterContainer/FilterContainer.d.ts +1 -0
- package/dist/src/components/FilterContainer/FilterContainer.stories.d.ts +165 -0
- package/dist/src/components/Input/InputFloatingInner.config.d.ts +9 -0
- package/dist/src/components/Input/InputFloatingInner.d.ts +1 -0
- package/dist/src/components/Input/InputFloatingInner.stories.d.ts +177 -6
- package/dist/src/components/Input/InputInnerLabel.config.d.ts +8 -0
- package/dist/src/components/Input/InputInnerLabel.d.ts +5 -0
- package/dist/src/components/Input/InputInnerLabel.stories.d.ts +205 -0
- package/dist/src/components/Input/InputNative.config.d.ts +9 -0
- package/dist/src/components/Input/InputNative.d.ts +1 -0
- package/dist/src/components/Input/InputNative.stories.d.ts +149 -5
- package/dist/src/components/Input/InputReguler.config.d.ts +9 -0
- package/dist/src/components/Input/InputReguler.d.ts +1 -0
- package/dist/src/components/Input/InputReguler.stories.d.ts +177 -6
- package/dist/src/components/Modal/ModalDialog.config.d.ts +9 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -0
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +121 -2
- package/dist/src/components/NumberFormat/NumberFormat.d.ts +1 -0
- package/dist/src/components/NumberFormat/NumberFormat.stories.d.ts +373 -18
- package/dist/src/components/Pagination/Pagination.config.d.ts +5 -0
- package/dist/src/components/Pagination/Pagination.d.ts +2 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +200 -3
- package/dist/src/components/Popover/Popover.d.ts +1 -0
- package/dist/src/components/Popover/Popover.stories.d.ts +216 -7
- package/dist/src/components/PortalComponent/PortalComponent.d.ts +1 -0
- package/dist/src/components/PortalComponent/PortalComponent.stories.d.ts +61 -0
- package/dist/src/components/RadioCheckbox/CheckboxTable.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +41 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.stories.d.ts +230 -8
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +25 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.stories.d.ts +196 -4
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +26 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.d.ts +2 -1
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.stories.d.ts +5 -4
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +5 -1
- package/dist/src/components/Sidebar/ItemSidebar.config.d.ts +34 -0
- package/dist/src/components/Sidebar/ItemSidebar.d.ts +1 -0
- package/dist/src/components/Sidebar/Sidebar.config.d.ts +16 -0
- package/dist/src/components/Sidebar/Sidebar.d.ts +2 -1
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +6 -5
- package/dist/src/components/Step/Step.d.ts +1 -0
- package/dist/src/components/Step/Step.stories.d.ts +135 -2
- package/dist/src/components/Step/StepIndicator.d.ts +1 -0
- package/dist/src/components/Step/StepIndicator.stories.d.ts +148 -2
- package/dist/src/components/Switch/Switch.config.d.ts +26 -0
- package/dist/src/components/Switch/Switch.d.ts +1 -0
- package/dist/src/components/Switch/Switch.stories.d.ts +128 -2
- package/dist/src/components/Table/Table.config.d.ts +5 -0
- package/dist/src/components/Table/Table.d.ts +3 -3
- package/dist/src/components/Table/Table.stories.d.ts +71 -52
- package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
- package/dist/src/components/Tabs/TabPanel.d.ts +1 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +31 -0
- package/dist/src/components/Tabs/Tabs.d.ts +2 -1
- package/dist/src/components/Tabs/Tabs.stories.d.ts +220 -3
- package/dist/src/components/TextEditor/TextEditor.d.ts +1 -0
- package/dist/src/components/TextEditor/TextEditor.stories.d.ts +59 -10
- package/dist/src/components/Textarea/Textarea.config.d.ts +31 -0
- package/dist/src/components/Textarea/Textarea.d.ts +1 -0
- package/dist/src/components/Textarea/Textarea.stories.d.ts +250 -3
- package/dist/src/components/Textarea/TextareaFloatingInner.config.d.ts +6 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.d.ts +1 -0
- package/dist/src/components/Textarea/TextareaFloatingInner.stories.d.ts +260 -3
- package/dist/src/components/Textarea/TextareaInnerLabel.config.d.ts +7 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.d.ts +5 -0
- package/dist/src/components/Textarea/TextareaInnerLabel.stories.d.ts +259 -0
- package/dist/src/components/TimeRange/TimeRange.d.ts +4 -0
- package/dist/src/components/TimeRange/TimeRange.stories.d.ts +186 -0
- package/dist/src/components/Timeline/Timeline.d.ts +1 -0
- package/dist/src/components/Timeline/Timeline.stories.d.ts +40 -2
- package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +159 -2
- package/dist/src/components/TruncateComponent/TruncateComponent.d.ts +1 -0
- package/dist/src/components/TruncateComponent/TruncateComponent.stories.d.ts +106 -2
- package/dist/src/components/Typography/Typography.stories.d.ts +2 -1
- package/dist/src/components/Upload/UploadFile.d.ts +1 -0
- package/dist/src/components/Upload/UploadFile.stories.d.ts +127 -2
- package/dist/src/components/Upload/UploadImage.d.ts +2 -1
- package/dist/src/components/Upload/UploadImage.stories.d.ts +145 -3
- package/dist/src/components/Upload/UploadMultipleFile.d.ts +2 -1
- package/dist/src/components/Upload/UploadMultipleFile.stories.d.ts +190 -3
- package/dist/src/components/Virtualization/ListVirtualization.d.ts +1 -0
- package/dist/src/components/Virtualization/ListVirtualization.stories.d.ts +279 -2
- package/dist/src/components/Virtualization/TableVirtualization.d.ts +1 -0
- package/dist/src/components/Virtualization/TableVirtualization.stories.d.ts +296 -2
- package/dist/src/components/index.d.ts +15 -8
- package/dist/src/components/screens/Screens.stories.d.ts +14 -0
- package/dist/src/config/bigNumber/index.d.ts +1 -0
- package/dist/src/config/components/borderRadius.d.ts +1 -0
- package/dist/src/config/components/font.d.ts +7 -0
- package/dist/src/config/components/gap.d.ts +1 -0
- package/dist/src/config/components/tinymce.d.ts +1 -0
- package/dist/src/config/components/typography.d.ts +3 -49
- package/dist/src/config/tailwind/index.d.ts +3 -1
- package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
- package/dist/src/config/tailwind/typography.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +6 -3
- package/dist/src/hooks/useAsyncDebounce.d.ts +9 -0
- package/dist/src/hooks/useCombinedResizeObserver.d.ts +67 -0
- package/dist/src/hooks/useCountdown.d.ts +67 -3
- package/dist/src/hooks/useDeepCompareEffect.d.ts +14 -0
- package/dist/src/hooks/useElementOrWindowMediaQuery.d.ts +9 -0
- package/dist/src/hooks/useEventListener.d.ts +28 -0
- package/dist/src/hooks/useMasonry.d.ts +80 -0
- package/dist/src/hooks/useMergeRefs.d.ts +27 -0
- package/dist/src/hooks/useOtpInput.d.ts +200 -0
- package/dist/src/hooks/useStateRef.d.ts +9 -0
- package/dist/src/interfaces/components/Alert/index.d.ts +9 -0
- package/dist/src/interfaces/components/Badges/index.d.ts +31 -1
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +86 -2
- package/dist/src/interfaces/components/Button/index.d.ts +47 -2
- package/dist/src/interfaces/components/ButtonIcon/index.d.ts +37 -0
- package/dist/src/interfaces/components/ButtonPopover/index.d.ts +79 -0
- package/dist/src/interfaces/components/Calendar/index.d.ts +385 -3
- package/dist/src/interfaces/components/Chart/index.d.ts +461 -0
- package/dist/src/interfaces/components/Checkbox/index.d.ts +13 -0
- package/dist/src/interfaces/components/Chips/index.d.ts +39 -1
- package/dist/src/interfaces/components/Collapse/index.d.ts +61 -0
- package/dist/src/interfaces/components/DatePicker/index.d.ts +278 -1
- package/dist/src/interfaces/components/ErrorMessage/index.d.ts +17 -1
- package/dist/src/interfaces/components/FilterContainer/index.d.ts +103 -0
- package/dist/src/interfaces/components/Input/index.d.ts +194 -0
- package/dist/src/interfaces/components/Modal/index.d.ts +46 -0
- package/dist/src/interfaces/components/NumberFormat/index.d.ts +26 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +84 -0
- package/dist/src/interfaces/components/Popover/index.d.ts +99 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +60 -2
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +47 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +197 -2
- package/dist/src/interfaces/components/Sidebar/index.d.ts +230 -1
- package/dist/src/interfaces/components/Step/index.d.ts +154 -0
- package/dist/src/interfaces/components/Switch/index.d.ts +54 -1
- package/dist/src/interfaces/components/Table/index.d.ts +403 -6
- package/dist/src/interfaces/components/Tabs/index.d.ts +131 -1
- package/dist/src/interfaces/components/TextEditor/index.d.ts +13 -0
- package/dist/src/interfaces/components/Textarea/index.d.ts +170 -0
- package/dist/src/interfaces/components/TimeRange/index.d.ts +129 -0
- package/dist/src/interfaces/components/Timeline/index.d.ts +37 -0
- package/dist/src/interfaces/components/Tooltip/index.d.ts +57 -0
- package/dist/src/interfaces/components/TruncateComponent/index.d.ts +34 -0
- package/dist/src/interfaces/components/UploadFile/index.d.ts +187 -0
- package/dist/src/interfaces/components/Virtualization/ListVirtualization.d.ts +139 -0
- package/dist/src/interfaces/components/Virtualization/TableVirtualization.d.ts +144 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/utils/common.d.ts +5 -4
- package/dist/src/utils/constant.d.ts +1 -0
- package/dist/types-external/table.d.ts +3 -0
- package/package.json +46 -47
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
package/dist/assets/_colors.scss
CHANGED
|
@@ -240,6 +240,46 @@ $laba-red-06: #FB004E;
|
|
|
240
240
|
$laba-red-05: #FF5378;
|
|
241
241
|
$laba-red-02: #FFAEBF;
|
|
242
242
|
$laba-red-01: #FFEBEF;
|
|
243
|
+
$lpd-primary-50: #CEDBFE;
|
|
244
|
+
$lpd-primary-100: #B6CAFE;
|
|
245
|
+
$lpd-primary-200: #9DB8FE;
|
|
246
|
+
$lpd-primary-300: #6C94FD;
|
|
247
|
+
$lpd-primary-400: #3B71FD;
|
|
248
|
+
$lpd-primary-500: #0A4DFC;
|
|
249
|
+
$lpd-primary-600: #083ECA;
|
|
250
|
+
$lpd-primary-700: #062E97;
|
|
251
|
+
$lpd-primary-800: #041F65;
|
|
252
|
+
$lpd-primary-900: #03174C;
|
|
253
|
+
$lpd-secondary-50: #FEF5CE;
|
|
254
|
+
$lpd-secondary-100: #FEEFB5;
|
|
255
|
+
$lpd-secondary-200: #FDEA9D;
|
|
256
|
+
$lpd-secondary-300: #FDE06B;
|
|
257
|
+
$lpd-secondary-400: #FCD53A;
|
|
258
|
+
$lpd-secondary-500: #FBCB09;
|
|
259
|
+
$lpd-secondary-600: #C9A207;
|
|
260
|
+
$lpd-secondary-700: #977A05;
|
|
261
|
+
$lpd-secondary-800: #645104;
|
|
262
|
+
$lpd-secondary-900: #4B3D03;
|
|
263
|
+
$bill-primary-50: #EAF0FE;
|
|
264
|
+
$bill-primary-100: #D5E1FD;
|
|
265
|
+
$bill-primary-200: #ABC3FB;
|
|
266
|
+
$bill-primary-300: #81A4F9;
|
|
267
|
+
$bill-primary-400: #5786F7;
|
|
268
|
+
$bill-primary-500: #2D68F5;
|
|
269
|
+
$bill-primary-600: #2453C4;
|
|
270
|
+
$bill-primary-700: #1B3E93;
|
|
271
|
+
$bill-primary-800: #122A62;
|
|
272
|
+
$bill-primary-900: #091531;
|
|
273
|
+
$bill-secondary-50: #F0FEFD;
|
|
274
|
+
$bill-secondary-100: #E2FCFA;
|
|
275
|
+
$bill-secondary-200: #C5F9F5;
|
|
276
|
+
$bill-secondary-300: #A8F7F1;
|
|
277
|
+
$bill-secondary-400: #8BF4EC;
|
|
278
|
+
$bill-secondary-500: #6EF1E7;
|
|
279
|
+
$bill-secondary-600: #59CBC2;
|
|
280
|
+
$bill-secondary-700: #44A59D;
|
|
281
|
+
$bill-secondary-800: #2F7E79;
|
|
282
|
+
$bill-secondary-900: #1A5854;
|
|
243
283
|
|
|
244
284
|
$color-map:(
|
|
245
285
|
"transparent": transparent,
|
|
@@ -484,4 +524,44 @@ $color-map:(
|
|
|
484
524
|
"laba-red-05": #FF5378,
|
|
485
525
|
"laba-red-02": #FFAEBF,
|
|
486
526
|
"laba-red-01": #FFEBEF,
|
|
527
|
+
"lpd-primary-50": #CEDBFE,
|
|
528
|
+
"lpd-primary-100": #B6CAFE,
|
|
529
|
+
"lpd-primary-200": #9DB8FE,
|
|
530
|
+
"lpd-primary-300": #6C94FD,
|
|
531
|
+
"lpd-primary-400": #3B71FD,
|
|
532
|
+
"lpd-primary-500": #0A4DFC,
|
|
533
|
+
"lpd-primary-600": #083ECA,
|
|
534
|
+
"lpd-primary-700": #062E97,
|
|
535
|
+
"lpd-primary-800": #041F65,
|
|
536
|
+
"lpd-primary-900": #03174C,
|
|
537
|
+
"lpd-secondary-50": #FEF5CE,
|
|
538
|
+
"lpd-secondary-100": #FEEFB5,
|
|
539
|
+
"lpd-secondary-200": #FDEA9D,
|
|
540
|
+
"lpd-secondary-300": #FDE06B,
|
|
541
|
+
"lpd-secondary-400": #FCD53A,
|
|
542
|
+
"lpd-secondary-500": #FBCB09,
|
|
543
|
+
"lpd-secondary-600": #C9A207,
|
|
544
|
+
"lpd-secondary-700": #977A05,
|
|
545
|
+
"lpd-secondary-800": #645104,
|
|
546
|
+
"lpd-secondary-900": #4B3D03,
|
|
547
|
+
"bill-primary-50": #EAF0FE,
|
|
548
|
+
"bill-primary-100": #D5E1FD,
|
|
549
|
+
"bill-primary-200": #ABC3FB,
|
|
550
|
+
"bill-primary-300": #81A4F9,
|
|
551
|
+
"bill-primary-400": #5786F7,
|
|
552
|
+
"bill-primary-500": #2D68F5,
|
|
553
|
+
"bill-primary-600": #2453C4,
|
|
554
|
+
"bill-primary-700": #1B3E93,
|
|
555
|
+
"bill-primary-800": #122A62,
|
|
556
|
+
"bill-primary-900": #091531,
|
|
557
|
+
"bill-secondary-50": #F0FEFD,
|
|
558
|
+
"bill-secondary-100": #E2FCFA,
|
|
559
|
+
"bill-secondary-200": #C5F9F5,
|
|
560
|
+
"bill-secondary-300": #A8F7F1,
|
|
561
|
+
"bill-secondary-400": #8BF4EC,
|
|
562
|
+
"bill-secondary-500": #6EF1E7,
|
|
563
|
+
"bill-secondary-600": #59CBC2,
|
|
564
|
+
"bill-secondary-700": #44A59D,
|
|
565
|
+
"bill-secondary-800": #2F7E79,
|
|
566
|
+
"bill-secondary-900": #1A5854,
|
|
487
567
|
);
|
package/dist/assets/_mixins.scss
CHANGED
|
@@ -2,16 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin ring($width: 1px, $color: 'transparent', $inset: 0, $important: 0) {
|
|
4
4
|
$ring-style: 0 0 0 $width $color;
|
|
5
|
-
$shadow: if($inset
|
|
5
|
+
$shadow: if($inset==1, inset $ring-style, $ring-style);
|
|
6
6
|
|
|
7
|
-
box-shadow: if($important
|
|
7
|
+
box-shadow: if($important==1, $shadow !important, $shadow);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin ring-left($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
|
|
11
|
+
$ring-style: (-$width) 0 0 $color;
|
|
12
|
+
$shadow: if($inset==1, inset $ring-style, $ring-style);
|
|
13
|
+
|
|
14
|
+
box-shadow: if($important==1, $shadow !important, $shadow);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin ring-top($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
|
|
18
|
+
$ring-style: 0 (-$width) 0 $color;
|
|
19
|
+
$shadow: if($inset==1, inset $ring-style, $ring-style);
|
|
20
|
+
|
|
21
|
+
box-shadow: if($important==1, $shadow !important, $shadow);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin ring-right($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
|
|
25
|
+
$ring-style: $width 0 0 $color;
|
|
26
|
+
$shadow: if($inset==1, inset $ring-style, $ring-style);
|
|
27
|
+
|
|
28
|
+
box-shadow: if($important==1, $shadow !important, $shadow);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin ring-bottom($width: 1px, $color: 'currentColor', $inset: 0, $important: 0) {
|
|
32
|
+
$ring-style: 0 $width 0 $color;
|
|
33
|
+
$shadow: if($inset==1, inset $ring-style, $ring-style);
|
|
34
|
+
|
|
35
|
+
box-shadow: if($important==1, $shadow !important, $shadow);
|
|
8
36
|
}
|
|
9
37
|
|
|
10
38
|
@function getColor($color-map, $color) {
|
|
11
39
|
@if map.has-key($color-map, $color) {
|
|
12
40
|
@return map.get($color-map, $color);
|
|
13
41
|
}
|
|
14
|
-
|
|
15
|
-
@return $color;
|
|
16
|
-
}
|
|
17
42
|
|
|
43
|
+
@return $color;
|
|
44
|
+
}
|