@driveflux/beam 2.0.9 → 2.0.10
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/accordion/Accordion.js +7 -133
- package/dist/accordion/Accordion.stories.js +11 -31
- package/dist/alert/Alert.js +14 -110
- package/dist/alert/Alert.stories.js +15 -50
- package/dist/animations/LoadingAnimation.js +21 -34
- package/dist/badge/Badge.js +7 -96
- package/dist/badge/Badge.stories.js +7 -28
- package/dist/base-styles.css +264 -96
- package/dist/box/Box.d.ts.map +1 -1
- package/dist/box/Box.js +3 -87
- package/dist/box/Box.stories.js +7 -8
- package/dist/breadcrumbs/Breadcrumbs.js +28 -288
- package/dist/breadcrumbs/Breadcrumbs.stories.js +27 -51
- package/dist/button/Button.js +12 -124
- package/dist/button/Button.stories.js +7 -35
- package/dist/card/Card.js +7 -109
- package/dist/card/Card.stories.js +7 -10
- package/dist/carousel/Carousel.js +58 -281
- package/dist/carousel/Carousel.js.map +1 -1
- package/dist/carousel/Carousel.stories.js +7 -39
- package/dist/carousel/CarouselButton.js +7 -68
- package/dist/center/Center.js +3 -63
- package/dist/center/Center.stories.js +7 -19
- package/dist/checkbox/Checkbox.js +4 -124
- package/dist/checkbox/Checkbox.stories.js +8 -10
- package/dist/chip/Chip.js +3 -104
- package/dist/chip/Chip.stories.js +7 -19
- package/dist/circular-progress/CircularProgress.js +11 -150
- package/dist/circular-progress/CircularProgress.stories.js +14 -54
- package/dist/command/command.js +13 -170
- package/dist/command/command.js.map +1 -1
- package/dist/datepicker/DatePicker.d.ts +2 -2
- package/dist/datepicker/DatePicker.d.ts.map +1 -1
- package/dist/datepicker/DatePicker.js +27 -127
- package/dist/datepicker/DatePicker.js.map +1 -1
- package/dist/datepicker/DatePicker.stories.js +58 -163
- package/dist/datepicker/DatePickerDrawer.js +14 -110
- package/dist/datepicker/DatePickerPopover.js +35 -207
- package/dist/datepicker/DatePickerPopover.js.map +1 -1
- package/dist/datepicker/constants.js +4 -3
- package/dist/datepicker/root-calendar.css +58 -58
- package/dist/datepicker/utils.js +11 -4
- package/dist/dialog/index.js +12 -144
- package/dist/divider/Divider.js +3 -63
- package/dist/divider/Divider.js.map +1 -1
- package/dist/divider/Divider.stories.js +7 -13
- package/dist/drawer/index.js +12 -157
- package/dist/drawer/index.js.map +1 -1
- package/dist/dropdown/Dropdown.js +26 -212
- package/dist/dropdown/Dropdown.js.map +1 -1
- package/dist/dropdown/Dropdown.stories.js +22 -109
- package/dist/field-wrapper/FieldWrapper.js +3 -139
- package/dist/field-wrapper/FieldWrapper.js.map +1 -1
- package/dist/field-wrapper/FieldWrapper.stories.js +28 -124
- package/dist/flex/Flex.js +3 -63
- package/dist/flex/Flex.stories.js +7 -19
- package/dist/grid/Grid.js +3 -63
- package/dist/grid/Grid.stories.js +7 -28
- package/dist/hooks/use-breakpoint-value.js +14 -77
- package/dist/hooks/use-media-query.js +12 -61
- package/dist/hstack/HStack.js +3 -63
- package/dist/hstack/HStack.stories.js +7 -19
- package/dist/icons/FluxLogo.js +9 -213
- package/dist/icons/FluxLogoTable.js +5 -109
- package/dist/icons/Icon.js +7 -108
- package/dist/icons/Icon.stories.js +7 -12
- package/dist/icons/Icon24Hours.js +5 -83
- package/dist/icons/IconAcceleration.js +4 -72
- package/dist/icons/IconAccount.js +4 -72
- package/dist/icons/IconApplicant.js +5 -78
- package/dist/icons/IconArrow.js +6 -78
- package/dist/icons/IconArrowBack.js +4 -72
- package/dist/icons/IconArrowForward.js +4 -72
- package/dist/icons/IconArrowTopLeft.js +4 -70
- package/dist/icons/IconBluesharkProductGuide.js +5 -80
- package/dist/icons/IconBolt.js +4 -72
- package/dist/icons/IconBriefcase.js +4 -72
- package/dist/icons/IconBulb.js +4 -72
- package/dist/icons/IconCalendar.js +4 -72
- package/dist/icons/IconCalendarArrowBack.js +4 -72
- package/dist/icons/IconCalendarArrowForward.js +4 -72
- package/dist/icons/IconCalendarDoubleArrowBack.js +4 -72
- package/dist/icons/IconCalendarDoubleArrowForward.js +4 -72
- package/dist/icons/IconCancel.js +6 -85
- package/dist/icons/IconCancelMark.js +4 -72
- package/dist/icons/IconCarSUV.js +4 -72
- package/dist/icons/IconCarSedan.js +7 -147
- package/dist/icons/IconChain.js +5 -79
- package/dist/icons/IconCheckmark.js +4 -72
- package/dist/icons/IconChevronRight.js +4 -72
- package/dist/icons/IconCircle.js +11 -114
- package/dist/icons/IconCircleCheckmark.js +5 -77
- package/dist/icons/IconCircleError.js +4 -72
- package/dist/icons/IconCircleExclamation.js +6 -104
- package/dist/icons/IconCircleMark.js +5 -78
- package/dist/icons/IconCircleOutline.js +5 -140
- package/dist/icons/IconClock.js +5 -80
- package/dist/icons/IconClose.js +4 -72
- package/dist/icons/IconConcierge.js +5 -79
- package/dist/icons/IconConciergeService.js +5 -87
- package/dist/icons/IconCreditCard.js +5 -78
- package/dist/icons/IconDash.js +4 -72
- package/dist/icons/IconDeliver.js +4 -72
- package/dist/icons/IconDelivery.js +5 -87
- package/dist/icons/IconDetails.js +4 -72
- package/dist/icons/IconDot.js +6 -87
- package/dist/icons/IconDot.js.map +1 -1
- package/dist/icons/IconEVCharging.js +5 -79
- package/dist/icons/IconElectricCarFuel.js +5 -80
- package/dist/icons/IconEllipsis.js +5 -78
- package/dist/icons/IconEnvelope.js +4 -72
- package/dist/icons/IconEye.js +5 -79
- package/dist/icons/IconFacebook.js +6 -94
- package/dist/icons/IconFilter.js +5 -83
- package/dist/icons/IconFlagMalaysia.js +5 -141
- package/dist/icons/IconGiveKey.js +5 -79
- package/dist/icons/IconGlobe.js +4 -70
- package/dist/icons/IconGoogle.js +5 -87
- package/dist/icons/IconHome.js +5 -78
- package/dist/icons/IconHostAdvertise.js +4 -72
- package/dist/icons/IconHostCar.js +4 -75
- package/dist/icons/IconHostCash.js +5 -91
- package/dist/icons/IconHostHandle.js +4 -70
- package/dist/icons/IconHostLocation.js +4 -70
- package/dist/icons/IconHostPayment.js +5 -91
- package/dist/icons/IconHostService.js +5 -79
- package/dist/icons/IconHotDeals.js +4 -72
- package/dist/icons/IconInfo.js +5 -77
- package/dist/icons/IconInstagram.js +4 -72
- package/dist/icons/IconInsurance.js +5 -99
- package/dist/icons/IconInternet.js +4 -73
- package/dist/icons/IconInventory.js +5 -78
- package/dist/icons/IconLaurel.js +5 -101
- package/dist/icons/IconLinkedIn.js +4 -72
- package/dist/icons/IconLoading.js +4 -78
- package/dist/icons/IconLocation.js +5 -80
- package/dist/icons/IconLock.js +4 -73
- package/dist/icons/IconLogistics.js +4 -72
- package/dist/icons/IconMail.js +5 -94
- package/dist/icons/IconMember.js +5 -78
- package/dist/icons/IconMobilePen.js +5 -83
- package/dist/icons/IconMotorcycleMoped.js +5 -78
- package/dist/icons/IconNoCost.js +5 -92
- package/dist/icons/IconPDF.js +5 -80
- package/dist/icons/IconPencil.js +4 -70
- package/dist/icons/IconPhone.js +4 -70
- package/dist/icons/IconPlus.js +4 -72
- package/dist/icons/IconPricing.js +4 -72
- package/dist/icons/IconProtected.js +4 -71
- package/dist/icons/IconPsychology.js +4 -72
- package/dist/icons/IconQuestionTooltip.js +4 -73
- package/dist/icons/IconQuote.js +4 -72
- package/dist/icons/IconRate.js +4 -71
- package/dist/icons/IconRegister.js +5 -99
- package/dist/icons/IconReturn.js +4 -72
- package/dist/icons/IconSearch.js +4 -70
- package/dist/icons/IconSecure.js +4 -71
- package/dist/icons/IconSecurity.js +4 -73
- package/dist/icons/IconSedanOutline.js +5 -159
- package/dist/icons/IconSelectArrow.js +6 -78
- package/dist/icons/IconSort.js +5 -79
- package/dist/icons/IconSortListed.js +5 -95
- package/dist/icons/IconSortPriceAscending.js +5 -83
- package/dist/icons/IconSortPriceDescending.js +5 -83
- package/dist/icons/IconSortYear.js +5 -79
- package/dist/icons/IconSpan.js +4 -71
- package/dist/icons/IconSpeaker.js +4 -79
- package/dist/icons/IconSpecialCar.js +5 -95
- package/dist/icons/IconStar.js +7 -92
- package/dist/icons/IconStockPhoto.js +5 -95
- package/dist/icons/IconSubscription.js +6 -113
- package/dist/icons/IconSubscriptions.js +6 -113
- package/dist/icons/IconSwap.js +5 -79
- package/dist/icons/IconTax.js +4 -72
- package/dist/icons/IconThinArrow.js +6 -78
- package/dist/icons/IconThumbsdown.js +5 -78
- package/dist/icons/IconThumbsup.js +5 -78
- package/dist/icons/IconTool.js +4 -72
- package/dist/icons/IconTooltip.js +4 -73
- package/dist/icons/IconTrash.js +4 -72
- package/dist/icons/IconTriangleExclamation.js +4 -72
- package/dist/icons/IconTyersBrakes.js +5 -83
- package/dist/icons/IconTyre.js +5 -83
- package/dist/icons/IconVacancy.js +5 -78
- package/dist/icons/IconVolunteer.js +4 -72
- package/dist/icons/IconWhatsapp.js +4 -73
- package/dist/icons/IconXPlatform.js +4 -72
- package/dist/icons/IconZeroEffort.js +5 -77
- package/dist/icons/Logo.js +3 -99
- package/dist/input/Input.js +11 -125
- package/dist/input/Input.stories.js +18 -17
- package/dist/input-mask/InputMask.js +11 -149
- package/dist/input-mask/InputMask.stories.js +6 -5
- package/dist/input-mask/mask-trackers.js +5 -4
- package/dist/input-select/InputSelect.js +68 -357
- package/dist/input-select/InputSelect.js.map +1 -1
- package/dist/input-select/InputSelect.stories.d.ts.map +1 -1
- package/dist/input-select/InputSelect.stories.js +25 -98
- package/dist/popover/popover.js +4 -72
- package/dist/popover/popover.js.map +1 -1
- package/dist/progress/Progress.js +2 -96
- package/dist/progress/Progress.stories.js +14 -13
- package/dist/radio/Radio.js +4 -163
- package/dist/scroll-area/scroll-area.js +5 -113
- package/dist/scroll-area/scroll-area.js.map +1 -1
- package/dist/search-input-select/SearchInputSelect.js +69 -346
- package/dist/search-input-select/SearchInputSelect.js.map +1 -1
- package/dist/select/Select.js +29 -315
- package/dist/select/Select.js.map +1 -1
- package/dist/select/Select.stories.d.ts.map +1 -1
- package/dist/select/Select.stories.js +19 -55
- package/dist/skeleton/Skeleton.js +3 -62
- package/dist/skeleton/Skeleton.stories.js +7 -8
- package/dist/slider/Slider.js +5 -106
- package/dist/slider/Slider.stories.js +11 -12
- package/dist/stack/Stack.js +3 -63
- package/dist/stack/Stack.stories.js +7 -19
- package/dist/styles.css +2787 -3282
- package/dist/table/Table.js +10 -131
- package/dist/table/Table.stories.js +8 -84
- package/dist/tabs/Tabs.js +9 -128
- package/dist/tabs/Tabs.js.map +1 -1
- package/dist/tabs/Tabs.stories.js +13 -46
- package/dist/text/Text.d.ts.map +1 -1
- package/dist/text/Text.js +6 -88
- package/dist/text/Text.stories.js +7 -44
- package/dist/toast/Toast.stories.js +14 -66
- package/dist/toast/ToastBox.js +24 -71
- package/dist/toast/index.js +1 -0
- package/dist/toast/sonner.js +11 -70
- package/dist/toggle/Toggle.js +7 -116
- package/dist/toggle/Toggle.stories.js +8 -10
- package/dist/tooltip/Tooltip.js +12 -151
- package/dist/tooltip/Tooltip.stories.js +13 -71
- package/dist/utils.js +2 -4
- package/dist/vstack/VStack.js +3 -63
- package/dist/vstack/VStack.stories.js +7 -19
- package/package.json +4 -4
- package/dist/icons/IconCollapseAll.d.ts +0 -8
- package/dist/icons/IconCollapseAll.d.ts.map +0 -1
- package/dist/icons/IconCollapseAll.js +0 -97
- package/dist/icons/IconCollapseAll.js.map +0 -1
- package/dist/icons/IconDownload.d.ts +0 -8
- package/dist/icons/IconDownload.d.ts.map +0 -1
- package/dist/icons/IconDownload.js +0 -82
- package/dist/icons/IconExpandAll.d.ts +0 -8
- package/dist/icons/IconExpandAll.d.ts.map +0 -1
- package/dist/icons/IconExpandAll.js +0 -97
- package/dist/icons/IconExpandAll.js.map +0 -1
- package/dist/icons/IconReport.d.ts +0 -9
- package/dist/icons/IconReport.d.ts.map +0 -1
- package/dist/icons/IconReport.js +0 -92
- package/dist/icons/IconReport.js.map +0 -1
package/dist/base-styles.css
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
@import "./root.css";
|
|
2
2
|
@import "./datepicker/calendar.css";
|
|
3
|
-
|
|
4
|
-
@
|
|
5
|
-
|
|
3
|
+
|
|
4
|
+
@plugin 'tailwindcss-animate';
|
|
5
|
+
|
|
6
|
+
@custom-variant dark (&:is(.dark *));
|
|
6
7
|
|
|
7
8
|
@font-face {
|
|
8
9
|
font-family: "Gotham-Black";
|
|
@@ -59,115 +60,282 @@
|
|
|
59
60
|
font-display: swap;
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
-webkit-text-size-adjust: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
line-height: 1.65;
|
|
68
|
-
}
|
|
63
|
+
@theme {
|
|
64
|
+
--height-button: 48px;
|
|
69
65
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
66
|
+
--font-bold: Gotham-Bold;
|
|
67
|
+
--font-normal: Gotham-Book;
|
|
68
|
+
--font-medium: Gotham-Medium;
|
|
69
|
+
--font-black: Gotham-Black;
|
|
70
|
+
--font-light: Gotham-Light;
|
|
75
71
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
text-rendering: optimizeLegibility;
|
|
88
|
-
-webkit-font-smoothing: antialiased;
|
|
89
|
-
-moz-osx-font-smoothing: grayscale;
|
|
90
|
-
scroll-behavior: smooth;
|
|
91
|
-
font-family: var(--primaryNormal);
|
|
92
|
-
}
|
|
72
|
+
--text-xs: 10px;
|
|
73
|
+
--text-sm: 12px;
|
|
74
|
+
--text-base: 14px;
|
|
75
|
+
--text-xl: 16px;
|
|
76
|
+
--text-2xl: 18px;
|
|
77
|
+
--text-3xl: 20px;
|
|
78
|
+
--text-4xl: 22px;
|
|
79
|
+
--text-5xl: 24px;
|
|
80
|
+
--text-6xl: 26px;
|
|
81
|
+
--text-7xl: 28px;
|
|
82
|
+
--text-8xl: 30px;
|
|
93
83
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
84
|
+
--tracking-normal: 0;
|
|
85
|
+
--tracking-wide: 1px;
|
|
86
|
+
--tracking-wider: 2px;
|
|
87
|
+
--tracking-widest: 3px;
|
|
98
88
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
color:
|
|
102
|
-
|
|
89
|
+
--color-primary1: #efeff0;
|
|
90
|
+
--color-primary2: #cacaca;
|
|
91
|
+
--color-primary3: #585858;
|
|
92
|
+
--color-primary4: #191919;
|
|
93
|
+
--color-accent4: #e55867;
|
|
94
|
+
--color-links1: #eefafd;
|
|
95
|
+
--color-links2: #ade0ee;
|
|
96
|
+
--color-links: #50c8e8;
|
|
97
|
+
--color-lite: #d6f0f7;
|
|
98
|
+
--color-alert4: #e24657;
|
|
99
|
+
--color-danger: #e24657;
|
|
100
|
+
--color-warning4: #f4b25c;
|
|
101
|
+
--color-success4: #4fd9c2;
|
|
102
|
+
--color-green: #4fd9c2;
|
|
103
|
+
--color-black: #000000;
|
|
104
|
+
--color-white: #ffffff;
|
|
105
|
+
--color-white-hover: #e6e6e6;
|
|
106
|
+
--color-placeholder: #f4f4f4;
|
|
107
|
+
--color-highlight: #f9f7d7;
|
|
103
108
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
109
|
+
--color-primary-25: #fafafa;
|
|
110
|
+
--color-primary-50: #d6f5f0;
|
|
111
|
+
--color-primary-100: #98e6d6;
|
|
112
|
+
--color-primary-200: #191919;
|
|
113
|
+
--color-primary-300: #191919;
|
|
114
|
+
--color-primary-400: #3bd5bb;
|
|
115
|
+
--color-primary-500: #000000;
|
|
116
|
+
--color-primary-600: #000000;
|
|
117
|
+
--color-primary-700: #000000;
|
|
118
|
+
--color-primary-800: #000000;
|
|
119
|
+
--color-primary-900: #000000;
|
|
107
120
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
121
|
+
--color-success-50: #d8f7f2;
|
|
122
|
+
--color-success-100: #98e6d6;
|
|
123
|
+
--color-success-200: #3bd5bc;
|
|
124
|
+
--color-success-300: #4fd9c2;
|
|
125
|
+
--color-success-400: #3bd5bb;
|
|
126
|
+
--color-success-500: #3bd5bb;
|
|
127
|
+
--color-success-600: #2ea692;
|
|
128
|
+
--color-success-700: #00825c;
|
|
129
|
+
--color-success-800: #00724d;
|
|
130
|
+
--color-success-900: #005530;
|
|
111
131
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
132
|
+
--color-accent-50: #fceaee;
|
|
133
|
+
--color-accent-100: #f8cad3;
|
|
134
|
+
--color-accent-200: #e55867;
|
|
135
|
+
--color-accent-300: #e55867;
|
|
136
|
+
--color-accent-400: #e24657;
|
|
137
|
+
--color-accent-500: #e24657;
|
|
138
|
+
--color-accent-600: #d8253f;
|
|
139
|
+
--color-accent-700: #c61a38;
|
|
140
|
+
--color-accent-800: #b91231;
|
|
141
|
+
--color-accent-900: #aa0026;
|
|
117
142
|
|
|
118
|
-
|
|
119
|
-
color:
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
143
|
+
--color-warning-50: #fdf0de;
|
|
144
|
+
--color-warning-100: #f4b25c;
|
|
145
|
+
--color-warning-200: #f4b25c;
|
|
146
|
+
--color-warning-300: #f4b25c;
|
|
147
|
+
--color-warning-400: #f4b25c;
|
|
148
|
+
--color-warning-500: #f4b25c;
|
|
149
|
+
--color-warning-600: #bf7f2c;
|
|
150
|
+
--color-warning-700: #f4b25c;
|
|
151
|
+
--color-warning-800: #f4b25c;
|
|
152
|
+
--color-warning-900: #f4b25c;
|
|
123
153
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
154
|
+
--color-info-25: #eefafc;
|
|
155
|
+
--color-info-50: #cdf1fa;
|
|
156
|
+
--color-info-100: #50c8e8;
|
|
157
|
+
--color-info-200: #50c8e8;
|
|
158
|
+
--color-info-300: #50c8e8;
|
|
159
|
+
--color-info-400: #50c8e8;
|
|
160
|
+
--color-info-500: #50c8e8;
|
|
161
|
+
--color-info-600: #3ea5c0;
|
|
162
|
+
--color-info-700: #50c8e8;
|
|
163
|
+
--color-info-800: #50c8e8;
|
|
164
|
+
--color-info-900: #183c46;
|
|
127
165
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
166
|
+
--color-alert-50: #e24657;
|
|
167
|
+
--color-alert-100: #e24657;
|
|
168
|
+
--color-alert-200: #e24657;
|
|
169
|
+
--color-alert-300: #e24657;
|
|
170
|
+
--color-alert-400: #e24657;
|
|
171
|
+
--color-alert-500: #e24657;
|
|
172
|
+
--color-alert-600: #e24657;
|
|
173
|
+
--color-alert-700: #e24657;
|
|
174
|
+
--color-alert-800: #e24657;
|
|
175
|
+
--color-alert-900: #e24657;
|
|
133
176
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
177
|
+
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
178
|
+
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
179
|
+
--animate-spin: rotate 0.6s linear infinite;
|
|
137
180
|
|
|
138
|
-
|
|
139
|
-
width: 100%;
|
|
140
|
-
height: 100%;
|
|
141
|
-
}
|
|
181
|
+
--leading-14: 14px;
|
|
142
182
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
textarea:-webkit-autofill:hover,
|
|
148
|
-
textarea:-webkit-autofill:focus,
|
|
149
|
-
select:-webkit-autofill,
|
|
150
|
-
select:-webkit-autofill:hover,
|
|
151
|
-
select:-webkit-autofill:focus {
|
|
152
|
-
background-color: var(--white) !important;
|
|
153
|
-
-webkit-box-shadow: 0 0 0px 1000px var(--white) inset !important;
|
|
154
|
-
color: #000 !important;
|
|
155
|
-
font-size: 14px !important;
|
|
156
|
-
}
|
|
183
|
+
@keyframes accordion-down {
|
|
184
|
+
from {
|
|
185
|
+
height: 0;
|
|
186
|
+
}
|
|
157
187
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}
|
|
188
|
+
to {
|
|
189
|
+
height: var(--radix-accordion-content-height);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
162
192
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
193
|
+
@keyframes accordion-up {
|
|
194
|
+
from {
|
|
195
|
+
height: var(--radix-accordion-content-height);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
to {
|
|
199
|
+
height: 0;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@keyframes rotate {
|
|
204
|
+
0% {
|
|
205
|
+
transform: rotate(0deg);
|
|
206
|
+
}
|
|
166
207
|
|
|
167
|
-
|
|
168
|
-
|
|
208
|
+
100% {
|
|
209
|
+
transform: rotate(360deg);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
169
212
|
}
|
|
170
213
|
|
|
171
|
-
|
|
172
|
-
|
|
214
|
+
@layer base {
|
|
215
|
+
*,
|
|
216
|
+
::after,
|
|
217
|
+
::before,
|
|
218
|
+
::backdrop,
|
|
219
|
+
::file-selector-button {
|
|
220
|
+
border-color: var(--color-gray-200, currentcolor);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
a {
|
|
224
|
+
color: var(--links);
|
|
225
|
+
text-decoration: none;
|
|
226
|
+
transition: color 0.2s ease;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
a:hover {
|
|
230
|
+
text-decoration: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
html {
|
|
234
|
+
line-height: 1.15;
|
|
235
|
+
-webkit-text-size-adjust: 100%;
|
|
236
|
+
height: 100%;
|
|
237
|
+
box-sizing: border-box;
|
|
238
|
+
line-height: 1.65;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
*,
|
|
242
|
+
*:before,
|
|
243
|
+
*:after {
|
|
244
|
+
box-sizing: inherit;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
body {
|
|
248
|
+
position: relative;
|
|
249
|
+
min-height: 100%;
|
|
250
|
+
margin: 0;
|
|
251
|
+
|
|
252
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen",
|
|
253
|
+
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
254
|
+
sans-serif;
|
|
255
|
+
font-weight: 400;
|
|
256
|
+
min-width: 320px;
|
|
257
|
+
direction: ltr;
|
|
258
|
+
font-feature-settings: "kern";
|
|
259
|
+
text-rendering: optimizeLegibility;
|
|
260
|
+
-webkit-font-smoothing: antialiased;
|
|
261
|
+
-moz-osx-font-smoothing: grayscale;
|
|
262
|
+
scroll-behavior: smooth;
|
|
263
|
+
font-family: var(--primaryNormal);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
html,
|
|
267
|
+
body {
|
|
268
|
+
background-color: var(--white);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
::selection {
|
|
272
|
+
background-color: var(--primary);
|
|
273
|
+
color: var(--white);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
[role="grid"]:focus {
|
|
277
|
+
outline: none;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
svg {
|
|
281
|
+
text-rendering: optimizeLegibility;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
h1,
|
|
285
|
+
h2,
|
|
286
|
+
h3 {
|
|
287
|
+
margin: 0;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
* {
|
|
291
|
+
overflow: visible;
|
|
292
|
+
box-sizing: border-box;
|
|
293
|
+
text-align: left;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
button:not(:disabled),
|
|
297
|
+
[role="button"]:not(:disabled) {
|
|
298
|
+
cursor: pointer;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
strong {
|
|
302
|
+
font-family: var(--primaryBold);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.svg-icon {
|
|
306
|
+
width: 100%;
|
|
307
|
+
height: 100%;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
input:-webkit-autofill,
|
|
311
|
+
input:-webkit-autofill:hover,
|
|
312
|
+
input:-webkit-autofill:focus,
|
|
313
|
+
textarea:-webkit-autofill,
|
|
314
|
+
textarea:-webkit-autofill:hover,
|
|
315
|
+
textarea:-webkit-autofill:focus,
|
|
316
|
+
select:-webkit-autofill,
|
|
317
|
+
select:-webkit-autofill:hover,
|
|
318
|
+
select:-webkit-autofill:focus {
|
|
319
|
+
background-color: var(--white) !important;
|
|
320
|
+
-webkit-box-shadow: 0 0 0px 1000px var(--white) inset !important;
|
|
321
|
+
color: #000 !important;
|
|
322
|
+
font-size: 14px !important;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
li::marker {
|
|
326
|
+
font-size: 15px;
|
|
327
|
+
margin-left: 10px;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.full-width {
|
|
331
|
+
width: 100%;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.h-safe-bottom-edge {
|
|
335
|
+
height: env(safe-area-inset-bottom);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
::-ms-reveal {
|
|
339
|
+
display: none;
|
|
340
|
+
}
|
|
173
341
|
}
|
package/dist/box/Box.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,MAAM,WAAW,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACrE;;OAEG;IACH,EAAE,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC,eAAe,GAAG,KAAK,CAAC,cAAc,CAAA;IAC3D,IAAI,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;CAC5D;AAED,QAAA,MAAM,GAAG,iFAIR,CAAA;AAGD,eAAe,GAAG,CAAA"}
|
package/dist/box/Box.js
CHANGED
|
@@ -1,91 +1,7 @@
|
|
|
1
|
-
function _define_property(obj, key, value) {
|
|
2
|
-
if (key in obj) {
|
|
3
|
-
Object.defineProperty(obj, key, {
|
|
4
|
-
value: value,
|
|
5
|
-
enumerable: true,
|
|
6
|
-
configurable: true,
|
|
7
|
-
writable: true
|
|
8
|
-
});
|
|
9
|
-
} else {
|
|
10
|
-
obj[key] = value;
|
|
11
|
-
}
|
|
12
|
-
return obj;
|
|
13
|
-
}
|
|
14
|
-
function _object_spread(target) {
|
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
|
17
|
-
var ownKeys = Object.keys(source);
|
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
ownKeys.forEach(function(key) {
|
|
24
|
-
_define_property(target, key, source[key]);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return target;
|
|
28
|
-
}
|
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
|
30
|
-
var keys = Object.keys(object);
|
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
33
|
-
if (enumerableOnly) {
|
|
34
|
-
symbols = symbols.filter(function(sym) {
|
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
keys.push.apply(keys, symbols);
|
|
39
|
-
}
|
|
40
|
-
return keys;
|
|
41
|
-
}
|
|
42
|
-
function _object_spread_props(target, source) {
|
|
43
|
-
source = source != null ? source : {};
|
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
46
|
-
} else {
|
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
return target;
|
|
52
|
-
}
|
|
53
|
-
function _object_without_properties(source, excluded) {
|
|
54
|
-
if (source == null) return {};
|
|
55
|
-
var target = _object_without_properties_loose(source, excluded);
|
|
56
|
-
var key, i;
|
|
57
|
-
if (Object.getOwnPropertySymbols) {
|
|
58
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
59
|
-
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
60
|
-
key = sourceSymbolKeys[i];
|
|
61
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
62
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
63
|
-
target[key] = source[key];
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return target;
|
|
67
|
-
}
|
|
68
|
-
function _object_without_properties_loose(source, excluded) {
|
|
69
|
-
if (source == null) return {};
|
|
70
|
-
var target = {};
|
|
71
|
-
var sourceKeys = Object.keys(source);
|
|
72
|
-
var key, i;
|
|
73
|
-
for(i = 0; i < sourceKeys.length; i++){
|
|
74
|
-
key = sourceKeys[i];
|
|
75
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
76
|
-
target[key] = source[key];
|
|
77
|
-
}
|
|
78
|
-
return target;
|
|
79
|
-
}
|
|
80
1
|
import * as React from 'react';
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"as",
|
|
84
|
-
"children"
|
|
85
|
-
]);
|
|
86
|
-
return /*#__PURE__*/ React.createElement(as, _object_spread_props(_object_spread({}, props), {
|
|
87
|
-
ref: ref
|
|
88
|
-
}), children);
|
|
2
|
+
const Box = React.forwardRef(({ as = 'div', children, ...props }, ref) => {
|
|
3
|
+
return React.createElement(as, { ...props, ref }, children);
|
|
89
4
|
});
|
|
90
5
|
Box.displayName = 'Box';
|
|
91
6
|
export default Box;
|
|
7
|
+
//# sourceMappingURL=Box.js.map
|
package/dist/box/Box.stories.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import Box from './Box.js';
|
|
3
|
-
|
|
4
|
-
component: Box
|
|
3
|
+
const meta = {
|
|
4
|
+
component: Box,
|
|
5
5
|
};
|
|
6
6
|
export default meta;
|
|
7
|
-
export
|
|
8
|
-
render:
|
|
9
|
-
return
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
}
|
|
7
|
+
export const FirstStory = {
|
|
8
|
+
render: () => {
|
|
9
|
+
return _jsx(Box, { className: "h-16 w-16 min-w-16 border border-primary2" });
|
|
10
|
+
},
|
|
13
11
|
};
|
|
12
|
+
//# sourceMappingURL=Box.stories.js.map
|