@weni/unnnic-system 3.4.0 → 3.4.1-alpha.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/CHANGELOG.md +1 -1
- package/dist/components/Accordion/Accordion.vue.d.ts +1 -1
- package/dist/components/Alert/Alert.vue.d.ts +18 -119
- package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
- package/dist/components/Alert/Version1dot1.vue.d.ts +2 -38
- package/dist/components/Alert/Version1dot1.vue.d.ts.map +1 -1
- package/dist/components/AudioRecorder/AudioHandler.vue.d.ts +2 -2
- package/dist/components/AudioRecorder/AudioPlayer.vue.d.ts +1 -1
- package/dist/components/AudioRecorder/AudioRecorder.vue.d.ts +5 -5
- package/dist/components/AvatarIcon/AvatarIcon.vue.d.ts +2 -2
- package/dist/components/Banner/Banner.vue.d.ts +1 -1
- package/dist/components/Banner/InfoBanner.vue.d.ts +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -1
- package/dist/components/Button/Button.vue.d.ts +2 -2
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonIcon.vue.d.ts +1 -1
- package/dist/components/Button/types.d.ts +1 -1
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/AccountCard.vue.d.ts +3 -3
- package/dist/components/Card/BlankCard.vue.d.ts +1 -1
- package/dist/components/Card/Card.vue.d.ts +21 -21
- package/dist/components/Card/CardCompany.vue.d.ts +8 -8
- package/dist/components/Card/CardData.vue.d.ts +1 -1
- package/dist/components/Card/CardStatusesContainer.vue.d.ts +4 -4
- package/dist/components/Card/ContentCard.vue.d.ts +2 -2
- package/dist/components/Card/DashCard.vue.d.ts +4 -4
- package/dist/components/Card/DefaultCard.vue.d.ts +1 -1
- package/dist/components/Card/MarketplaceCard.vue.d.ts +2 -2
- package/dist/components/Card/SimpleCard.vue.d.ts +3 -3
- package/dist/components/Card/StatusCard.vue.d.ts +2 -2
- package/dist/components/Card/TitleCard.vue.d.ts +2 -2
- package/dist/components/CardImage/CardImage.vue.d.ts +24 -33
- package/dist/components/CardInformation/CardInformation.vue.d.ts +4 -4
- package/dist/components/CardProject/CardProject.vue.d.ts +3 -3
- package/dist/components/Carousel/Carousel.vue.d.ts +11 -11
- package/dist/components/Carousel/TagCarousel.vue.d.ts +9 -9
- package/dist/components/ChartBar/ChartBar.vue.d.ts +8 -8
- package/dist/components/ChartLine/ChartLine.vue.d.ts +1 -1
- package/dist/components/ChatText/ChatText.vue.d.ts +2 -2
- package/dist/components/ChatsContact/ChatsContact.vue.d.ts +31 -40
- package/dist/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue.d.ts +1 -1
- package/dist/components/ChatsHeader/ChatsHeader.vue.d.ts +1 -1
- package/dist/components/ChatsHeader/ChatsHeader.vue.d.ts.map +1 -1
- package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts +5 -5
- package/dist/components/ChatsMessage/ChatsMessageStatusBackdrop.vue.d.ts +2 -2
- package/dist/components/ChatsNavbar/ChatsNavbar.vue.d.ts +1 -1
- package/dist/components/ChatsUserAvatar/ChatsUserAvatar.vue.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.vue.d.ts +19 -28
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts +28 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts.map +1 -0
- package/dist/components/Comment/Comment.vue.d.ts +1 -1
- package/dist/components/DataArea/DataArea.vue.d.ts +2 -2
- package/dist/components/DataTable/index.vue.d.ts +1 -1
- package/dist/components/DataTable/index.vue.d.ts.map +1 -1
- package/dist/components/DateFilter/DateFilter.vue.d.ts +176 -29
- package/dist/components/DatePicker/DatePicker.vue.d.ts +8 -8
- package/dist/components/Drawer/Drawer.vue.d.ts +7 -7
- package/dist/components/Dropdown/Dropdown.vue.d.ts +1 -1
- package/dist/components/Dropdown/LanguageSelect.vue.d.ts +3 -3
- package/dist/components/Flag.vue.d.ts +2 -2
- package/dist/components/FormElement/FormElement.vue.d.ts +38 -32
- package/dist/components/FormElement/FormElement.vue.d.ts.map +1 -1
- package/dist/components/Icon.vue.d.ts +1 -1
- package/dist/components/IconLoading/IconLoading.vue.d.ts +1 -1
- package/dist/components/ImportCard/ImportCard.vue.d.ts +7 -7
- package/dist/components/Input/BaseInput.vue.d.ts +32 -1
- package/dist/components/Input/BaseInput.vue.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +176 -29
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/TextInput.vue.d.ts +83 -14
- package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
- package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts +186 -39
- package/dist/components/InputNext/InputNext.vue.d.ts +4 -4
- package/dist/components/Label/Label.vue.d.ts +9 -15
- package/dist/components/Label/Label.vue.d.ts.map +1 -1
- package/dist/components/Modal/Modal.vue.d.ts +2 -2
- package/dist/components/ModalDialog/ModalDialog.vue.d.ts +9 -9
- package/dist/components/ModalDialog/ModalDialog.vue.d.ts.map +1 -1
- package/dist/components/ModalNext/ModalNext.vue.d.ts +184 -37
- package/dist/components/ModalUpload/ModalUpload.vue.d.ts +14 -14
- package/dist/components/MoodRating/MoodRating.vue.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelect.vue.d.ts +20 -14
- package/dist/components/Pagination/Pagination.vue.d.ts +6 -6
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
- package/dist/components/Radio/Radio.vue.d.ts +8 -6
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/components/SelectSmart/SelectSmart.vue.d.ts +113 -53
- package/dist/components/SelectSmart/SelectSmartMultipleHeader.vue.d.ts +8 -8
- package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts +20 -29
- package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts.map +1 -1
- package/dist/components/SelectTime/index.vue.d.ts +83 -14
- package/dist/components/SkeletonLoading/skeletonTheme.vue.d.ts +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +2 -2
- package/dist/components/StarRating/StarRating.vue.d.ts +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +24 -25
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/Tab/Tab.vue.d.ts +13 -2
- package/dist/components/TableNext/TableBodyCell.vue.d.ts +2 -2
- package/dist/components/TableNext/TablePagination.vue.d.ts +6 -6
- package/dist/components/TabsExpanded/TabsExpanded.vue.d.ts +1 -1
- package/dist/components/Tag/BrandTag.vue.d.ts +2 -2
- package/dist/components/Tag/DefaultTag.vue.d.ts +2 -2
- package/dist/components/Tag/IndicatorTag.vue.d.ts +2 -2
- package/dist/components/Tag/Tag.vue.d.ts +8 -8
- package/dist/components/TemplatePreview/TemplatePreview.vue.d.ts +9 -0
- package/dist/components/TemplatePreview/TemplatePreview.vue.d.ts.map +1 -0
- package/dist/components/TemplatePreview/TemplatePreviewModal.vue.d.ts +15 -0
- package/dist/components/TemplatePreview/TemplatePreviewModal.vue.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.vue.d.ts +38 -32
- package/dist/components/TextArea/TextArea.vue.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts +16 -0
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -0
- package/dist/components/Toast/ToastManager.d.ts +14 -0
- package/dist/components/Toast/ToastManager.d.ts.map +1 -0
- package/dist/components/Toast/types.d.ts +35 -0
- package/dist/components/Toast/types.d.ts.map +1 -0
- package/dist/components/ToolTip/ToolTip.vue.d.ts +1 -1
- package/dist/components/Tour/Tour.vue.d.ts +6 -6
- package/dist/components/Tour/TourPopover.vue.d.ts +6 -6
- package/dist/components/UploadArea/UploadArea.vue.d.ts +7 -7
- package/dist/components/index.d.ts +2590 -1258
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/ui/popover/Popover.vue.d.ts +23 -0
- package/dist/components/ui/popover/Popover.vue.d.ts.map +1 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +43 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts.map +1 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +19 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts.map +1 -0
- package/dist/components/ui/popover/index.d.ts +5 -0
- package/dist/components/ui/popover/index.d.ts.map +1 -0
- package/dist/{es-8265192e.mjs → es-eca523be.mjs} +1 -1
- package/dist/{index-832905fc.mjs → index-c84d6c3d.mjs} +18151 -11782
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/en.json.d.ts +2 -1
- package/dist/locales/es.json.d.ts +2 -1
- package/dist/locales/pt_br.json.d.ts +2 -1
- package/dist/{pt-br-9ced3d4b.mjs → pt-br-dd7ba97f.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +177 -163
- package/dist/unnnic.umd.js +53 -50
- package/dist/utils/call.d.ts +2 -1
- package/dist/utils/call.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/assets/icons/checkbox-checked-disabled.svg +3 -0
- package/src/assets/icons/checkbox-checked.svg +3 -0
- package/src/assets/icons/radio-checked.svg +3 -0
- package/src/assets/icons/switch-checked-disabled.svg +3 -0
- package/src/assets/icons/switch-checked.svg +3 -0
- package/src/assets/img/previews/doc-preview.png +0 -0
- package/src/assets/img/previews/image-preview.png +0 -0
- package/src/assets/img/previews/video-preview.png +0 -0
- package/src/assets/scss/scheme-colors.scss +115 -238
- package/src/assets/scss/tailwind.scss +15 -15
- package/src/components/Alert/Alert.vue +26 -135
- package/src/components/Alert/Version1dot1.vue +0 -36
- package/src/components/Alert/__tests__/__snapshots__/Alert.spec.js.snap +11 -7
- package/src/components/Alert/__tests__/__snapshots__/Version1dot1.spec.js.snap +2 -2
- package/src/components/Button/Button.vue +60 -108
- package/src/components/Button/types.ts +0 -1
- package/src/components/Checkbox/Checkbox.vue +88 -65
- package/src/components/Checkbox/__tests__/Checkbox.spec.js +6 -21
- package/src/components/CheckboxGroup/CheckboxGroup.vue +96 -0
- package/src/components/FormElement/FormElement.vue +51 -91
- package/src/components/Input/BaseInput.vue +31 -14
- package/src/components/Input/Input.scss +19 -21
- package/src/components/Input/Input.vue +94 -30
- package/src/components/Input/TextInput.vue +82 -58
- package/src/components/Input/__test__/TextInput.spec.js +5 -5
- package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +16 -3
- package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +7 -1
- package/src/components/Label/Label.vue +52 -21
- package/src/components/Label/__tests__/Label.spec.js +1 -1
- package/src/components/Label/__tests__/__snapshots__/Label.spec.js.snap +1 -1
- package/src/components/ModalDialog/ModalDialog.vue +1 -0
- package/src/components/ModalDialog/__tests__/__snapshots__/ModalDialog.spec.js.snap +1 -1
- package/src/components/Popover/__tests__/Popover.spec.js +147 -0
- package/src/components/Popover/__tests__/__snapshots__/Popover.spec.js.snap +8 -0
- package/src/components/Popover/index.vue +146 -0
- package/src/components/Radio/Radio.vue +80 -67
- package/src/components/Radio/__test__/Radio.spec.js +14 -20
- package/src/components/Radio/__test__/__snapshots__/Radio.spec.js.snap +3 -3
- package/src/components/RadioGroup/RadioGroup.vue +110 -0
- package/src/components/Select/SelectOption.vue +65 -0
- package/src/components/Select/__tests__/Select.spec.js +412 -0
- package/src/components/Select/__tests__/SelectItem.spec.js +330 -0
- package/src/components/Select/__tests__/SelectOption.spec.js +174 -0
- package/src/components/Select/__tests__/__snapshots__/Select.spec.js.snap +97 -0
- package/src/components/Select/__tests__/__snapshots__/SelectItem.spec.js.snap +15 -0
- package/src/components/Select/__tests__/__snapshots__/SelectOption.spec.js.snap +25 -0
- package/src/components/Select/index.vue +245 -0
- package/src/components/Switch/Switch.vue +91 -99
- package/src/components/Switch/__tests__/Switch.spec.js +8 -74
- package/src/components/Switch/__tests__/__snapshots__/Switch.spec.js.snap +3 -5
- package/src/components/Tab/Tab.vue +37 -23
- package/src/components/Tab/__test__/__snapshots__/Tab.spec.js.snap +1 -1
- package/src/components/TableNext/__test__/__snapshots__/TableNext.spec.js.snap +2 -2
- package/src/components/TableNext/__test__/__snapshots__/TablePagination.spec.js.snap +2 -2
- package/src/components/TemplatePreview/TemplatePreview.vue +252 -0
- package/src/components/TemplatePreview/TemplatePreviewModal.vue +51 -0
- package/src/components/TemplatePreview/types.d.ts +16 -0
- package/src/components/TextArea/TextArea.vue +13 -9
- package/src/components/TextArea/__test__/__snapshots__/TextArea.spec.js.snap +7 -2
- package/src/components/Toast/Toast.vue +236 -0
- package/src/components/Toast/ToastManager.ts +110 -0
- package/src/components/Toast/types.ts +57 -0
- package/src/components/index.ts +34 -4
- package/src/components/ui/popover/Popover.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +98 -0
- package/src/components/ui/popover/PopoverTrigger.vue +12 -0
- package/src/components/ui/popover/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/locales/en.json +2 -1
- package/src/locales/es.json +2 -1
- package/src/locales/pt_br.json +2 -1
- package/src/stories/Alert.stories.js +6 -67
- package/src/stories/Button.stories.js +2 -17
- package/src/stories/Checkbox.stories.js +9 -10
- package/src/stories/CheckboxGroup.stories.js +104 -0
- package/src/stories/Input.stories.js +22 -3
- package/src/stories/Label.stories.js +7 -0
- package/src/stories/Popover.stories.js +306 -0
- package/src/stories/RadioGroup.stories.js +139 -0
- package/src/stories/Select.stories.js +158 -0
- package/src/stories/Switch.stories.js +4 -5
- package/src/stories/Tab.stories.js +11 -4
- package/src/stories/TemplatePreview.stories.js +94 -0
- package/src/stories/TemplatePreviewModal.stories.js +110 -0
- package/src/stories/Toast.mdx +123 -0
- package/src/stories/Toast.stories.js +126 -0
- package/src/types/scheme-colors.d.ts +1 -0
- package/src/utils/call.js +46 -18
- package/src/components/Alert/AlertBanner.vue +0 -182
- package/src/components/Alert/AlertCaller.vue +0 -49
- package/src/components/Alert/__tests__/AlertBanner.spec.js +0 -89
- package/src/components/Alert/__tests__/AlertCaller.spec.js +0 -98
package/dist/utils/call.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ declare namespace _default {
|
|
|
3
3
|
export { callModal };
|
|
4
4
|
}
|
|
5
5
|
export default _default;
|
|
6
|
-
export function callAlert({ props, containerRef }: {
|
|
6
|
+
export function callAlert({ props, containerRef, seconds }: {
|
|
7
7
|
props: any;
|
|
8
8
|
containerRef: any;
|
|
9
|
+
seconds: any;
|
|
9
10
|
}): void;
|
|
10
11
|
export function callModal({ props }: {
|
|
11
12
|
props: any;
|
package/dist/utils/call.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/utils/call.js"],"names":[],"mappings":";;;;;AAOA
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/utils/call.js"],"names":[],"mappings":";;;;;AAOA;;;;SAiDC;AAED;;SAeC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weni/unnnic-system",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1-alpha.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@vueuse/components": "^10.4.1",
|
|
55
|
+
"@vueuse/core": "^14.0.0",
|
|
55
56
|
"emoji-mart-vue-fast": "^15.0.5",
|
|
56
57
|
"lodash": "^4.17.21",
|
|
57
58
|
"lucide-vue-next": "^0.546.0",
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.60023 7.13135L9.96565 0.765935C10.0744 0.655796 10.2018 0.599407 10.3477 0.596768C10.4936 0.594129 10.6242 0.650518 10.7396 0.765935C10.855 0.881351 10.9127 1.00955 10.9127 1.15052C10.9127 1.29163 10.8577 1.41718 10.7477 1.52718L4.08586 8.19864C3.9503 8.33531 3.79224 8.40364 3.61169 8.40364C3.43099 8.40364 3.27224 8.33531 3.13544 8.19864L0.260439 5.32364C0.150439 5.2135 0.0928002 5.08711 0.0875224 4.94448C0.0821058 4.80198 0.137106 4.67302 0.252522 4.5576C0.367939 4.44218 0.496759 4.38448 0.638981 4.38448C0.781203 4.38448 0.907731 4.44218 1.01856 4.5576L3.60023 7.13135Z" fill="#B2B9C7"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3.60023 7.13135L9.96565 0.765935C10.0744 0.655796 10.2018 0.599407 10.3477 0.596768C10.4936 0.594129 10.6242 0.650518 10.7396 0.765935C10.855 0.881351 10.9127 1.00955 10.9127 1.15052C10.9127 1.29163 10.8577 1.41718 10.7477 1.52718L4.08586 8.19864C3.9503 8.33531 3.79224 8.40364 3.61169 8.40364C3.43099 8.40364 3.27224 8.33531 3.13544 8.19864L0.260439 5.32364C0.150439 5.2135 0.0928002 5.08711 0.0875224 4.94448C0.0821058 4.80198 0.137106 4.67302 0.252522 4.5576C0.367939 4.44218 0.496759 4.38448 0.638981 4.38448C0.781203 4.38448 0.907731 4.44218 1.01856 4.5576L3.60023 7.13135Z" fill="white"/>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3,242 +3,118 @@
|
|
|
3
3
|
|
|
4
4
|
// Global scheme colors mapping for all components
|
|
5
5
|
|
|
6
|
-
$unnnic-scheme-colors:
|
|
7
|
-
'
|
|
8
|
-
|
|
9
|
-
'
|
|
10
|
-
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'
|
|
18
|
-
'
|
|
19
|
-
'
|
|
20
|
-
'
|
|
21
|
-
'
|
|
22
|
-
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
|
|
26
|
-
'
|
|
27
|
-
'
|
|
28
|
-
'
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'green
|
|
41
|
-
'
|
|
42
|
-
|
|
43
|
-
'green-
|
|
44
|
-
'green-
|
|
45
|
-
'green-
|
|
46
|
-
|
|
47
|
-
'
|
|
48
|
-
'blue-100'
|
|
49
|
-
'blue-
|
|
50
|
-
'blue-
|
|
51
|
-
'blue-
|
|
52
|
-
'blue-
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
81
|
-
'
|
|
82
|
-
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
94
|
-
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'
|
|
98
|
-
'
|
|
99
|
-
'
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
|
|
104
|
-
'
|
|
105
|
-
'
|
|
106
|
-
|
|
107
|
-
'
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'fg-emphasized' $unnnic-color-fg-emphasized,
|
|
119
|
-
'fg-inverted' $unnnic-color-fg-inverted,
|
|
120
|
-
'fg-active' $unnnic-color-fg-active,
|
|
121
|
-
'fg-info' $unnnic-color-fg-info,
|
|
122
|
-
'fg-success' $unnnic-color-fg-success,
|
|
123
|
-
'fg-warning' $unnnic-color-fg-warning,
|
|
124
|
-
'fg-critical' $unnnic-color-fg-critical,
|
|
125
|
-
|
|
126
|
-
'border-base' $unnnic-color-border-base,
|
|
127
|
-
'border-soft' $unnnic-color-border-soft,
|
|
128
|
-
'border-muted' $unnnic-color-border-muted,
|
|
129
|
-
'border-emphasized' $unnnic-color-border-emphasized,
|
|
130
|
-
'border-active' $unnnic-color-border-active,
|
|
131
|
-
'border-info' $unnnic-color-border-info,
|
|
132
|
-
'border-success' $unnnic-color-border-success,
|
|
133
|
-
'border-warning' $unnnic-color-border-warning,
|
|
134
|
-
'border-critical' $unnnic-color-border-critical,
|
|
135
|
-
|
|
136
|
-
// Deprecated
|
|
137
|
-
'background-solo' $unnnic-color-teal-50,
|
|
138
|
-
'background-sky' $unnnic-color-gray-50,
|
|
139
|
-
'background-grass' $unnnic-color-green-50,
|
|
140
|
-
'background-carpet' $unnnic-color-gray-50,
|
|
141
|
-
'background-snow' $unnnic-color-white,
|
|
142
|
-
'background-lightest' $unnnic-color-gray-50,
|
|
143
|
-
'background-white' $unnnic-color-white,
|
|
144
|
-
|
|
145
|
-
'neutral-black' $unnnic-color-gray-900,
|
|
146
|
-
'neutral-darkest' $unnnic-color-gray-800,
|
|
147
|
-
'neutral-dark' $unnnic-color-gray-700,
|
|
148
|
-
'neutral-cloudy' $unnnic-color-gray-500,
|
|
149
|
-
'neutral-cleanest' $unnnic-color-gray-200,
|
|
150
|
-
'neutral-clean' $unnnic-color-gray-300,
|
|
151
|
-
'neutral-soft' $unnnic-color-gray-100,
|
|
152
|
-
'neutral-lightest' $unnnic-color-gray-50,
|
|
153
|
-
'neutral-light' $unnnic-color-gray-50,
|
|
154
|
-
'neutral-white' $unnnic-color-white,
|
|
155
|
-
'neutral-snow' $unnnic-color-white,
|
|
156
|
-
|
|
157
|
-
'feedback-red' $unnnic-color-red-500,
|
|
158
|
-
'feedback-green' $unnnic-color-green-500,
|
|
159
|
-
'feedback-yellow' $unnnic-color-yellow-500,
|
|
160
|
-
'feedback-blue' $unnnic-color-blue-500,
|
|
161
|
-
'feedback-grey' $unnnic-color-gray-500,
|
|
162
|
-
|
|
163
|
-
'aux-blue' $unnnic-color-blue-500,
|
|
164
|
-
'aux-purple' $unnnic-color-purple-500,
|
|
165
|
-
'aux-orange' $unnnic-color-orange-500,
|
|
166
|
-
'aux-lemon' $unnnic-color-yellow-400,
|
|
167
|
-
'aux-pink' $unnnic-color-red-300,
|
|
168
|
-
'aux-baby-blue' $unnnic-color-blue-200,
|
|
169
|
-
'aux-baby-yellow' $unnnic-color-yellow-200,
|
|
170
|
-
'aux-baby-red' $unnnic-color-red-200,
|
|
171
|
-
'aux-baby-green' $unnnic-color-green-200,
|
|
172
|
-
'aux-baby-pink' $unnnic-color-red-100,
|
|
173
|
-
|
|
174
|
-
'aux-green-100' $unnnic-color-green-100,
|
|
175
|
-
'aux-green-300' $unnnic-color-green-300,
|
|
176
|
-
'aux-green-500' $unnnic-color-green-500,
|
|
177
|
-
'aux-green-700' $unnnic-color-green-700,
|
|
178
|
-
'aux-green-900' $unnnic-color-green-900,
|
|
179
|
-
'aux-blue-100' $unnnic-color-blue-100,
|
|
180
|
-
'aux-blue-300' $unnnic-color-blue-300,
|
|
181
|
-
'aux-blue-500' $unnnic-color-blue-500,
|
|
182
|
-
'aux-blue-700' $unnnic-color-blue-700,
|
|
183
|
-
'aux-blue-900' $unnnic-color-blue-900,
|
|
184
|
-
'aux-purple-100' $unnnic-color-purple-100,
|
|
185
|
-
'aux-purple-300' $unnnic-color-purple-300,
|
|
186
|
-
'aux-purple-500' $unnnic-color-purple-500,
|
|
187
|
-
'aux-purple-700' $unnnic-color-purple-700,
|
|
188
|
-
'aux-purple-900' $unnnic-color-purple-900,
|
|
189
|
-
'aux-red-100' $unnnic-color-red-100,
|
|
190
|
-
'aux-red-300' $unnnic-color-red-300,
|
|
191
|
-
'aux-red-500' $unnnic-color-red-500,
|
|
192
|
-
'aux-red-700' $unnnic-color-red-700,
|
|
193
|
-
'aux-red-900' $unnnic-color-red-900,
|
|
194
|
-
'aux-orange-100' $unnnic-color-orange-100,
|
|
195
|
-
'aux-orange-300' $unnnic-color-orange-300,
|
|
196
|
-
'aux-orange-500' $unnnic-color-orange-500,
|
|
197
|
-
'aux-orange-700' $unnnic-color-orange-700,
|
|
198
|
-
'aux-orange-900' $unnnic-color-orange-900,
|
|
199
|
-
'aux-yellow-100' $unnnic-color-yellow-100,
|
|
200
|
-
'aux-yellow-300' $unnnic-color-yellow-300,
|
|
201
|
-
'aux-yellow-500' $unnnic-color-yellow-500,
|
|
202
|
-
'aux-yellow-700' $unnnic-color-yellow-700,
|
|
203
|
-
'aux-yellow-900' $unnnic-color-yellow-900,
|
|
204
|
-
|
|
205
|
-
'floweditor-blue' $unnnic-color-blue-600,
|
|
206
|
-
'floweditor-purple' $unnnic-color-purple-600,
|
|
207
|
-
'floweditor-wine' $unnnic-color-red-800,
|
|
208
|
-
'floweditor-orange' $unnnic-color-orange-600,
|
|
209
|
-
'floweditor-pink' $unnnic-color-red-400,
|
|
210
|
-
'floweditor-turquoise' $unnnic-color-teal-500,
|
|
211
|
-
'floweditor-green' $unnnic-color-green-600,
|
|
212
|
-
|
|
213
|
-
'weni-50' $unnnic-color-teal-50,
|
|
214
|
-
'weni-100' $unnnic-color-teal-100,
|
|
215
|
-
'weni-200' $unnnic-color-teal-200,
|
|
216
|
-
'weni-300' $unnnic-color-teal-300,
|
|
217
|
-
'weni-400' $unnnic-color-teal-400,
|
|
218
|
-
'weni-500' $unnnic-color-teal-500,
|
|
219
|
-
'weni-600' $unnnic-color-teal-600,
|
|
220
|
-
'weni-700' $unnnic-color-teal-700,
|
|
221
|
-
'weni-800' $unnnic-color-teal-800,
|
|
222
|
-
'weni-900' $unnnic-color-teal-900,
|
|
223
|
-
'weni-950' $unnnic-color-teal-950,
|
|
224
|
-
'brand-weni' $unnnic-color-teal-600,
|
|
225
|
-
'brand-weni-dark' $unnnic-color-teal-800,
|
|
226
|
-
'brand-weni-soft' $unnnic-color-teal-100,
|
|
227
|
-
'brand-sec-dark' $unnnic-color-blue-800,
|
|
228
|
-
'brand-sec-soft' $unnnic-color-blue-100,
|
|
229
|
-
'brand-sec' $unnnic-color-blue-600,
|
|
230
|
-
|
|
231
|
-
'teal-50' $unnnic-color-teal-50,
|
|
232
|
-
'teal-100' $unnnic-color-teal-100,
|
|
233
|
-
'teal-200' $unnnic-color-teal-200,
|
|
234
|
-
'teal-300' $unnnic-color-teal-300,
|
|
235
|
-
'teal-400' $unnnic-color-teal-400,
|
|
236
|
-
'teal-500' $unnnic-color-teal-500,
|
|
237
|
-
'teal-600' $unnnic-color-teal-600,
|
|
238
|
-
'teal-700' $unnnic-color-teal-700,
|
|
239
|
-
'teal-800' $unnnic-color-teal-800,
|
|
240
|
-
'teal-900' $unnnic-color-teal-900,
|
|
241
|
-
'teal-950' $unnnic-color-teal-950;
|
|
6
|
+
$unnnic-scheme-colors: 'background-solo'$unnnic-color-teal-50,
|
|
7
|
+
'background-sky'$unnnic-color-gray-50,
|
|
8
|
+
'background-grass'$unnnic-color-green-50,
|
|
9
|
+
'background-carpet'$unnnic-color-gray-50,
|
|
10
|
+
'background-snow'$unnnic-color-white,
|
|
11
|
+
'background-lightest'$unnnic-color-gray-50,
|
|
12
|
+
'background-white'$unnnic-color-white,
|
|
13
|
+
|
|
14
|
+
'neutral-black'$unnnic-color-gray-900,
|
|
15
|
+
'neutral-darkest'$unnnic-color-gray-800,
|
|
16
|
+
'neutral-dark'$unnnic-color-gray-700,
|
|
17
|
+
'neutral-cloudy'$unnnic-color-gray-500,
|
|
18
|
+
'neutral-cleanest'$unnnic-color-gray-200,
|
|
19
|
+
'neutral-clean'$unnnic-color-gray-300,
|
|
20
|
+
'neutral-soft'$unnnic-color-gray-100,
|
|
21
|
+
'neutral-lightest'$unnnic-color-gray-50,
|
|
22
|
+
'neutral-light'$unnnic-color-gray-50,
|
|
23
|
+
'neutral-white'$unnnic-color-white,
|
|
24
|
+
'neutral-snow'$unnnic-color-white,
|
|
25
|
+
|
|
26
|
+
'feedback-red'$unnnic-color-red-500,
|
|
27
|
+
'feedback-green'$unnnic-color-green-500,
|
|
28
|
+
'feedback-yellow'$unnnic-color-yellow-500,
|
|
29
|
+
'feedback-blue'$unnnic-color-blue-500,
|
|
30
|
+
'feedback-grey'$unnnic-color-gray-500,
|
|
31
|
+
|
|
32
|
+
'aux-blue'$unnnic-color-blue-500,
|
|
33
|
+
'aux-purple'$unnnic-color-purple-500,
|
|
34
|
+
'aux-orange'$unnnic-color-orange-500,
|
|
35
|
+
'aux-lemon'$unnnic-color-yellow-400,
|
|
36
|
+
'aux-pink'$unnnic-color-red-300,
|
|
37
|
+
'aux-baby-blue'$unnnic-color-blue-200,
|
|
38
|
+
'aux-baby-yellow'$unnnic-color-yellow-200,
|
|
39
|
+
'aux-baby-red'$unnnic-color-red-200,
|
|
40
|
+
'aux-baby-green'$unnnic-color-green-200,
|
|
41
|
+
'aux-baby-pink'$unnnic-color-red-100,
|
|
42
|
+
|
|
43
|
+
'aux-green-100'$unnnic-color-green-100,
|
|
44
|
+
'aux-green-300'$unnnic-color-green-300,
|
|
45
|
+
'aux-green-500'$unnnic-color-green-500,
|
|
46
|
+
'aux-green-700'$unnnic-color-green-700,
|
|
47
|
+
'aux-green-900'$unnnic-color-green-900,
|
|
48
|
+
'aux-blue-100'$unnnic-color-blue-100,
|
|
49
|
+
'aux-blue-300'$unnnic-color-blue-300,
|
|
50
|
+
'aux-blue-500'$unnnic-color-blue-500,
|
|
51
|
+
'aux-blue-700'$unnnic-color-blue-700,
|
|
52
|
+
'aux-blue-900'$unnnic-color-blue-900,
|
|
53
|
+
'aux-purple-100'$unnnic-color-purple-100,
|
|
54
|
+
'aux-purple-300'$unnnic-color-purple-300,
|
|
55
|
+
'aux-purple-500'$unnnic-color-purple-500,
|
|
56
|
+
'aux-purple-700'$unnnic-color-purple-700,
|
|
57
|
+
'aux-purple-900'$unnnic-color-purple-900,
|
|
58
|
+
'aux-red-100'$unnnic-color-red-100,
|
|
59
|
+
'aux-red-300'$unnnic-color-red-300,
|
|
60
|
+
'aux-red-500'$unnnic-color-red-500,
|
|
61
|
+
'aux-red-700'$unnnic-color-red-700,
|
|
62
|
+
'aux-red-900'$unnnic-color-red-900,
|
|
63
|
+
'aux-orange-100'$unnnic-color-orange-100,
|
|
64
|
+
'aux-orange-300'$unnnic-color-orange-300,
|
|
65
|
+
'aux-orange-500'$unnnic-color-orange-500,
|
|
66
|
+
'aux-orange-700'$unnnic-color-orange-700,
|
|
67
|
+
'aux-orange-900'$unnnic-color-orange-900,
|
|
68
|
+
'aux-yellow-100'$unnnic-color-yellow-100,
|
|
69
|
+
'aux-yellow-300'$unnnic-color-yellow-300,
|
|
70
|
+
'aux-yellow-500'$unnnic-color-yellow-500,
|
|
71
|
+
'aux-yellow-700'$unnnic-color-yellow-700,
|
|
72
|
+
'aux-yellow-900'$unnnic-color-yellow-900,
|
|
73
|
+
|
|
74
|
+
"fg-critical"$unnnic-color-fg-critical,
|
|
75
|
+
"fg-muted"$unnnic-color-fg-muted,
|
|
76
|
+
"fg-base"$unnnic-color-fg-base,
|
|
77
|
+
|
|
78
|
+
'floweditor-blue'$unnnic-color-blue-600,
|
|
79
|
+
'floweditor-purple'$unnnic-color-purple-600,
|
|
80
|
+
'floweditor-wine'$unnnic-color-red-800,
|
|
81
|
+
'floweditor-orange'$unnnic-color-orange-600,
|
|
82
|
+
'floweditor-pink'$unnnic-color-red-400,
|
|
83
|
+
'floweditor-turquoise'$unnnic-color-teal-500,
|
|
84
|
+
'floweditor-green'$unnnic-color-green-600,
|
|
85
|
+
|
|
86
|
+
'weni-50'$unnnic-color-teal-50,
|
|
87
|
+
'weni-100'$unnnic-color-teal-100,
|
|
88
|
+
'weni-200'$unnnic-color-teal-200,
|
|
89
|
+
'weni-300'$unnnic-color-teal-300,
|
|
90
|
+
'weni-400'$unnnic-color-teal-400,
|
|
91
|
+
'weni-500'$unnnic-color-teal-500,
|
|
92
|
+
'weni-600'$unnnic-color-teal-600,
|
|
93
|
+
'weni-700'$unnnic-color-teal-700,
|
|
94
|
+
'weni-800'$unnnic-color-teal-800,
|
|
95
|
+
'weni-900'$unnnic-color-teal-900,
|
|
96
|
+
'weni-950'$unnnic-color-teal-950,
|
|
97
|
+
'brand-weni'$unnnic-color-teal-600,
|
|
98
|
+
'brand-weni-dark'$unnnic-color-teal-800,
|
|
99
|
+
'brand-weni-soft'$unnnic-color-teal-100,
|
|
100
|
+
'brand-sec-dark'$unnnic-color-blue-800,
|
|
101
|
+
'brand-sec-soft'$unnnic-color-blue-100,
|
|
102
|
+
'brand-sec'$unnnic-color-blue-600,
|
|
103
|
+
|
|
104
|
+
'bg-base'$unnnic-color-bg-base,
|
|
105
|
+
'bg-soft'$unnnic-color-bg-soft,
|
|
106
|
+
|
|
107
|
+
'teal-50'$unnnic-color-teal-50,
|
|
108
|
+
'teal-100'$unnnic-color-teal-100,
|
|
109
|
+
'teal-200'$unnnic-color-teal-200,
|
|
110
|
+
'teal-300'$unnnic-color-teal-300,
|
|
111
|
+
'teal-400'$unnnic-color-teal-400,
|
|
112
|
+
'teal-500'$unnnic-color-teal-500,
|
|
113
|
+
'teal-600'$unnnic-color-teal-600,
|
|
114
|
+
'teal-700'$unnnic-color-teal-700,
|
|
115
|
+
'teal-800'$unnnic-color-teal-800,
|
|
116
|
+
'teal-900'$unnnic-color-teal-900,
|
|
117
|
+
'teal-950'$unnnic-color-teal-950;
|
|
242
118
|
|
|
243
119
|
@mixin generate-scheme-classes($component-name, $property: 'background-color') {
|
|
244
120
|
@each $name, $color in $unnnic-scheme-colors {
|
|
@@ -250,10 +126,11 @@ $unnnic-scheme-colors:
|
|
|
250
126
|
|
|
251
127
|
@function get-scheme-color($name) {
|
|
252
128
|
@each $scheme-name, $color in $unnnic-scheme-colors {
|
|
253
|
-
@if $scheme-name
|
|
129
|
+
@if $scheme-name ==$name {
|
|
254
130
|
@return $color;
|
|
255
131
|
}
|
|
256
132
|
}
|
|
133
|
+
|
|
257
134
|
@warn "Scheme color '#{$name}' not found in $unnnic-scheme-colors";
|
|
258
135
|
@return null;
|
|
259
|
-
}
|
|
136
|
+
}
|
|
@@ -11,42 +11,42 @@
|
|
|
11
11
|
/* Background colors */
|
|
12
12
|
--background: #{$unnnic-color-bg-base-hsl};
|
|
13
13
|
--foreground: #{$unnnic-color-fg-emphasized-hsl};
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
/* Card colors */
|
|
16
16
|
--card: #{$unnnic-color-bg-base-hsl};
|
|
17
17
|
--card-foreground: #{$unnnic-color-fg-emphasized-hsl};
|
|
18
|
-
|
|
18
|
+
|
|
19
19
|
/* Popover colors */
|
|
20
20
|
--popover: #{$unnnic-color-bg-base-hsl};
|
|
21
21
|
--popover-foreground: #{$unnnic-color-fg-emphasized-hsl};
|
|
22
|
-
|
|
23
|
-
/* Primary colors
|
|
22
|
+
|
|
23
|
+
/* Primary colors */
|
|
24
24
|
--primary: #{$unnnic-color-teal-600-hsl};
|
|
25
25
|
--primary-foreground: #{$unnnic-color-fg-inverted-hsl};
|
|
26
|
-
|
|
27
|
-
/* Secondary colors
|
|
26
|
+
|
|
27
|
+
/* Secondary colors */
|
|
28
28
|
--secondary: #{$unnnic-color-gray-100-hsl};
|
|
29
29
|
--secondary-foreground: #{$unnnic-color-gray-900-hsl};
|
|
30
|
-
|
|
30
|
+
|
|
31
31
|
/* Muted colors */
|
|
32
32
|
--muted: #{$unnnic-color-gray-100-hsl};
|
|
33
33
|
--muted-foreground: #{$unnnic-color-fg-base-hsl};
|
|
34
|
-
|
|
35
|
-
/* Accent colors
|
|
34
|
+
|
|
35
|
+
/* Accent colors */
|
|
36
36
|
--accent: #{$unnnic-color-gray-50-hsl};
|
|
37
37
|
--accent-foreground: #{$unnnic-color-gray-900-hsl};
|
|
38
|
-
|
|
39
|
-
/* Destructive colors
|
|
38
|
+
|
|
39
|
+
/* Destructive colors */
|
|
40
40
|
--destructive: #{$unnnic-color-red-500-hsl};
|
|
41
41
|
--destructive-foreground: #{$unnnic-color-white-hsl};
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
/* Border colors */
|
|
44
44
|
--border: #{$unnnic-color-border-base-hsl};
|
|
45
45
|
--input: #{$unnnic-color-border-base-hsl};
|
|
46
|
-
|
|
47
|
-
/* Ring color (focus)
|
|
46
|
+
|
|
47
|
+
/* Ring color (focus) */
|
|
48
48
|
--ring: #{$unnnic-color-teal-600-hsl};
|
|
49
|
-
|
|
49
|
+
|
|
50
50
|
/* Border radius */
|
|
51
51
|
--radius: #{$unnnic-radius-2};
|
|
52
52
|
}
|