@prokodo/ui 0.1.13 → 0.1.15
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/README.md +2 -0
- package/dist/components/RTE/RTE.client.js +0 -1
- package/dist/components/RTE/RTE.js +4 -1
- package/dist/components/accordion/Accordion.js +8 -2
- package/dist/components/accordion/Accordion.view.js +1 -1
- package/dist/components/animated/Animated.client.js +13 -5
- package/dist/components/animated/Animated.js +8 -2
- package/dist/components/animatedText/AnimatedText.client.js +10 -2
- package/dist/components/animatedText/AnimatedText.js +8 -2
- package/dist/components/autocomplete/Autocomplete.client.js +5 -1
- package/dist/components/autocomplete/Autocomplete.js +4 -1
- package/dist/components/autocomplete/Autocomplete.view.js +13 -4
- package/dist/components/avatar/Avatar.js +4 -1
- package/dist/components/avatar/Avatar.view.js +19 -12
- package/dist/components/base-link/BaseLink.js +4 -1
- package/dist/components/base-link/BaseLink.view.js +3 -0
- package/dist/components/button/Button.css +114 -6
- package/dist/components/button/Button.js +4 -1
- package/dist/components/button/Button.module.css +114 -6
- package/dist/components/button/Button.module.scss.js +10 -2
- package/dist/components/button/Button.view.js +4 -1
- package/dist/components/calendly/Calendly.js +8 -2
- package/dist/components/card/Card.js +11 -5
- package/dist/components/card/Card.view.js +22 -5
- package/dist/components/carousel/Carousel.client.js +140 -129
- package/dist/components/carousel/Carousel.js +8 -2
- package/dist/components/carousel/Carousel.view.js +10 -0
- package/dist/components/checkbox/Checkbox.client.js +42 -0
- package/dist/components/checkbox/Checkbox.css +312 -0
- package/dist/components/checkbox/Checkbox.js +15 -0
- package/dist/components/checkbox/Checkbox.lazy.js +12 -0
- package/dist/components/checkbox/Checkbox.module.css +312 -0
- package/dist/components/checkbox/Checkbox.module.scss.js +20 -0
- package/dist/components/checkbox/Checkbox.server.js +20 -0
- package/dist/components/checkbox/Checkbox.view.js +89 -0
- package/dist/components/checkbox/index.js +4 -0
- package/dist/components/checkbox-group/CheckboxGroup.client.js +57 -0
- package/dist/components/checkbox-group/CheckboxGroup.css +238 -0
- package/dist/components/checkbox-group/CheckboxGroup.js +16 -0
- package/dist/components/checkbox-group/CheckboxGroup.lazy.js +12 -0
- package/dist/components/checkbox-group/CheckboxGroup.module.css +238 -0
- package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +15 -0
- package/dist/components/checkbox-group/CheckboxGroup.server.js +25 -0
- package/dist/components/checkbox-group/CheckboxGroup.view.js +100 -0
- package/dist/components/checkbox-group/index.js +4 -0
- package/dist/components/chip/Chip.js +4 -1
- package/dist/components/chip/Chip.view.js +4 -0
- package/dist/components/datePicker/DatePicker.js +4 -1
- package/dist/components/dialog/Dialog.js +8 -2
- package/dist/components/dialog/Dialog.view.js +25 -6
- package/dist/components/drawer/Drawer.client.js +0 -1
- package/dist/components/drawer/Drawer.js +4 -1
- package/dist/components/drawer/Drawer.view.js +14 -3
- package/dist/components/dynamic-list/DynamicList.client.js +1 -0
- package/dist/components/dynamic-list/DynamicList.js +4 -1
- package/dist/components/dynamic-list/DynamicList.view.js +18 -5
- package/dist/components/form/Form.client.js +4 -1
- package/dist/components/form/Form.js +4 -1
- package/dist/components/form/Form.view.js +3 -1
- package/dist/components/form/FormField.client.js +8 -2
- package/dist/components/form/FormField.js +4 -1
- package/dist/components/form/FormResponse.js +4 -1
- package/dist/components/headline/Headline.js +8 -2
- package/dist/components/icon/Icon.js +8 -2
- package/dist/components/image/Image.client.js +9 -5
- package/dist/components/image/Image.js +8 -2
- package/dist/components/image/Image.server.js +2 -1
- package/dist/components/image-text/ImageText.js +18 -8
- package/dist/components/input/Input.client.js +15 -2
- package/dist/components/input/Input.js +4 -1
- package/dist/components/input/Input.view.js +15 -6
- package/dist/components/input/InputValidation.js +6 -2
- package/dist/components/inputOTP/InputOTP.js +2 -1
- package/dist/components/link/Link.js +5 -3
- package/dist/components/link/Link.view.js +2 -1
- package/dist/components/list/List.js +52 -23
- package/dist/components/loading/Loading.js +4 -1
- package/dist/components/loading/Loading.view.js +25 -5
- package/dist/components/lottie/Lottie.js +9 -5
- package/dist/components/map/Map.js +62 -44
- package/dist/components/pagination/Pagination.js +4 -1
- package/dist/components/pagination/Pagination.view.js +3 -1
- package/dist/components/post-item/PostItem.js +4 -1
- package/dist/components/post-item/PostItemAuthor.js +4 -1
- package/dist/components/post-teaser/PostTeaser.js +4 -1
- package/dist/components/post-teaser/PostTeaser.view.js +4 -2
- package/dist/components/post-widget/PostWidget.js +5 -3
- package/dist/components/post-widget/PostWidget.view.js +9 -3
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +8 -2
- package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +2 -1
- package/dist/components/progressBar/ProgressBar.js +8 -2
- package/dist/components/progressBar/ProgressBar.view.js +4 -1
- package/dist/components/rating/Rating.client.js +6 -1
- package/dist/components/rating/Rating.js +4 -1
- package/dist/components/rich-text/RichText.client.js +52 -17
- package/dist/components/rich-text/RichText.js +8 -2
- package/dist/components/rich-text/RichText.server.js +3 -0
- package/dist/components/select/Select.client.js +149 -101
- package/dist/components/select/Select.js +8 -2
- package/dist/components/select/Select.view.js +35 -11
- package/dist/components/sidenav/SideNav.js +8 -2
- package/dist/components/slider/Slider.client.js +11 -2
- package/dist/components/slider/Slider.js +4 -1
- package/dist/components/slider/Slider.view.js +43 -5
- package/dist/components/snackbar/Snackbar.client.js +5 -1
- package/dist/components/snackbar/Snackbar.css +5 -1
- package/dist/components/snackbar/Snackbar.js +4 -1
- package/dist/components/snackbar/Snackbar.module.css +5 -1
- package/dist/components/snackbar/SnackbarProvider.js +8 -2
- package/dist/components/stepper/Stepper.client.js +6 -3
- package/dist/components/stepper/Stepper.js +4 -1
- package/dist/components/switch/Switch.js +4 -1
- package/dist/components/switch/Switch.view.js +1 -0
- package/dist/components/table/Table.js +1 -0
- package/dist/components/tabs/Tabs.client.js +1 -0
- package/dist/components/tabs/Tabs.js +8 -2
- package/dist/components/tabs/Tabs.view.js +8 -2
- package/dist/components/tooltip/Tooltip.client.js +126 -91
- package/dist/components/tooltip/Tooltip.js +10 -4
- package/dist/components/tooltip/Tooltip.view.js +1 -0
- package/dist/constants/project.js +1 -1
- package/dist/helpers/createIsland.js +1 -0
- package/dist/helpers/createLazyWrapper.js +1 -0
- package/dist/hooks/useGoogleMaps.js +0 -1
- package/dist/index.js +4 -0
- package/dist/theme.css +430 -9
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/RTE/RTE.d.ts +1 -1
- package/dist/types/components/RTE/RTE.lazy.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
- package/dist/types/components/carousel/Carousel.view.d.ts +1 -1
- package/dist/types/components/checkbox/Checkbox.client.d.ts +4 -0
- package/dist/types/components/checkbox/Checkbox.d.ts +18 -0
- package/dist/types/components/checkbox/Checkbox.lazy.d.ts +19 -0
- package/dist/types/components/checkbox/Checkbox.model.d.ts +23 -0
- package/dist/types/components/checkbox/Checkbox.server.d.ts +3 -0
- package/dist/types/components/checkbox/Checkbox.view.d.ts +3 -0
- package/dist/types/components/checkbox/index.d.ts +2 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.client.d.ts +4 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.d.ts +4 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.lazy.d.ts +5 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +38 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.server.d.ts +3 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +3 -0
- package/dist/types/components/checkbox-group/index.d.ts +2 -0
- package/dist/types/components/dialog/Dialog.model.d.ts +1 -0
- package/dist/types/components/dialog/Dialog.view.d.ts +1 -1
- package/dist/types/components/dynamic-list/DynamicList.model.d.ts +1 -1
- package/dist/types/components/headline/Headline.model.d.ts +1 -1
- package/dist/types/components/input/Input.view.d.ts +1 -1
- package/dist/types/index.d.ts +2 -0
- package/package.json +29 -5
package/dist/theme.css
CHANGED
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
--color-secondary-700: #2393a2;
|
|
161
161
|
--color-secondary-800: #236c77;
|
|
162
162
|
--color-secondary-900: #1e484e;
|
|
163
|
-
--color-success: #
|
|
163
|
+
--color-success: #20E381;
|
|
164
164
|
--color-warning: #f7b529;
|
|
165
165
|
--color-error: #f0453a;
|
|
166
166
|
--elevation-1: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
|
|
@@ -192,6 +192,10 @@
|
|
|
192
192
|
--gradient-border-6: linear-gradient(90deg, var(--color-secondary-500) 4.63%, var(--color-primary-500) 100%);
|
|
193
193
|
--gradient-border-7: linear-gradient(90deg, var(--color-primary-500), var(--color-secondary-500), var(--color-primary-500));
|
|
194
194
|
--gradient-border-8: linear-gradient(90deg, var(--color-grey-100) 4.63%, var(--color-grey-300) 100%);
|
|
195
|
+
--gradient-border-info: linear-gradient(112deg, var(--color-grey-100) 0%, var(--color-grey-300) 100%);
|
|
196
|
+
--gradient-border-success: linear-gradient(112deg, #20E381 0%, #10CCB8 100%);
|
|
197
|
+
--gradient-border-warning: linear-gradient(112deg, #FFCC00 0%, #CCA300 100%);
|
|
198
|
+
--gradient-border-error: linear-gradient(112deg, #EB5550 0%, #FF4444 100%);
|
|
195
199
|
--gradient-text-primary-secondary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-primary-800) 50%, var(--color-secondary-500) 100%);
|
|
196
200
|
--gradient-text-primary-secondary-primary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-secondary-500) 50%, var(--color-primary-500) 100%);
|
|
197
201
|
--gradient-text-primary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-grey-400) 100%);
|
|
@@ -236,7 +240,7 @@
|
|
|
236
240
|
--color-secondary-700: #AFF3FF;
|
|
237
241
|
--color-secondary-800: #CCF7FF;
|
|
238
242
|
--color-secondary-900: #E6FBFF;
|
|
239
|
-
--color-success: #
|
|
243
|
+
--color-success: #20E381;
|
|
240
244
|
--color-warning: #f7b529;
|
|
241
245
|
--color-error: #f0453a;
|
|
242
246
|
--elevation-1: 0 4px 6px rgba(255, 255, 255, 0.1), 0 1px 3px rgba(255, 255, 255, 0.08);
|
|
@@ -266,6 +270,11 @@
|
|
|
266
270
|
--gradient-border-4: linear-gradient(112.34deg, var(--color-primary-500) 0%, var(--color-secondary-500) 100%);
|
|
267
271
|
--gradient-border-5: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-secondary-500) 100%);
|
|
268
272
|
--gradient-border-7: linear-gradient(180deg, var(--color-grey-400) 0%, var(--color-grey-600) 100%);
|
|
273
|
+
--gradient-border-8: linear-gradient(90deg, var(--color-grey-100) 4.63%, var(--color-grey-300) 100%);
|
|
274
|
+
--gradient-border-info: linear-gradient(112deg, var(--color-grey-100) 0%, var(--color-grey-300) 100%);
|
|
275
|
+
--gradient-border-success: linear-gradient(112deg, #20E381 0%, #10CCB8 100%);
|
|
276
|
+
--gradient-border-warning: linear-gradient(112deg, #FFCC00 0%, #CCA300 100%);
|
|
277
|
+
--gradient-border-error: linear-gradient(112deg, #EB5550 0%, #FF4444 100%);
|
|
269
278
|
--gradient-text-primary-secondary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-primary-800) 50%, var(--color-secondary-500) 100%);
|
|
270
279
|
--gradient-text-primary: linear-gradient(90deg, var(--color-primary-500) 0%, var(--color-grey-700) 100%);
|
|
271
280
|
--gradient-text-grey: linear-gradient(90deg, var(--color-grey-700) 0%, var(--color-grey-900) 100%);
|
|
@@ -804,29 +813,58 @@ html[data-theme=dark] .prokodo-Button {
|
|
|
804
813
|
border-radius: 1.5rem;
|
|
805
814
|
border-radius: 1.5rem;
|
|
806
815
|
}
|
|
807
|
-
.prokodo-Button--has-bg-primary, .prokodo-Button--has-bg-secondary, .prokodo-Button--has-bg-
|
|
808
|
-
color: #
|
|
816
|
+
.prokodo-Button--has-bg-primary, .prokodo-Button--has-bg-secondary, .prokodo-Button--has-bg-success, .prokodo-Button--has-bg-warning {
|
|
817
|
+
color: #000000;
|
|
809
818
|
}
|
|
810
|
-
.prokodo-Button--has-bg-
|
|
811
|
-
color:
|
|
819
|
+
.prokodo-Button--has-bg-info, .prokodo-Button--has-bg-error {
|
|
820
|
+
color: #FFFFFF;
|
|
812
821
|
}
|
|
813
822
|
.prokodo-Button--has-bg-primary {
|
|
814
823
|
background: var(--gradient-background-primary);
|
|
824
|
+
color: #000000;
|
|
825
|
+
}
|
|
826
|
+
html[data-theme=dark] .prokodo-Button--has-bg-primary {
|
|
827
|
+
color: #FFFFFF;
|
|
828
|
+
}
|
|
829
|
+
html[data-theme=dark] .prokodo-Button--has-bg-inherit {
|
|
830
|
+
color: var(--color-grey-900);
|
|
831
|
+
background: linear-gradient(112deg, var(--color-grey-200) 0%, var(--color-grey-300) 100%);
|
|
832
|
+
background-color: var(--color-grey-300);
|
|
815
833
|
}
|
|
816
834
|
.prokodo-Button--has-bg-secondary {
|
|
817
835
|
background: var(--gradient-background-secondary);
|
|
836
|
+
color: #000000;
|
|
837
|
+
}
|
|
838
|
+
html[data-theme=dark] .prokodo-Button--has-bg-secondary {
|
|
839
|
+
color: #FFFFFF;
|
|
818
840
|
}
|
|
819
841
|
.prokodo-Button--is-disabled, .prokodo-Button--has-bg-info {
|
|
820
842
|
background: var(--gradient-background-info);
|
|
843
|
+
color: #FFFFFF;
|
|
844
|
+
}
|
|
845
|
+
html[data-theme=dark] .prokodo-Button--is-disabled, html[data-theme=dark] .prokodo-Button--has-bg-info {
|
|
846
|
+
color: var(--color-grey-700);
|
|
821
847
|
}
|
|
822
848
|
.prokodo-Button--has-bg-success {
|
|
823
849
|
background: var(--gradient-background-success);
|
|
850
|
+
color: #000000;
|
|
851
|
+
}
|
|
852
|
+
html[data-theme=dark] .prokodo-Button--has-bg-success {
|
|
853
|
+
color: #000000;
|
|
824
854
|
}
|
|
825
855
|
.prokodo-Button--has-bg-warning {
|
|
826
856
|
background: var(--gradient-background-warning);
|
|
857
|
+
color: #000000;
|
|
858
|
+
}
|
|
859
|
+
html[data-theme=dark] .prokodo-Button--has-bg-warning {
|
|
860
|
+
color: #000000;
|
|
827
861
|
}
|
|
828
862
|
.prokodo-Button--has-bg-error {
|
|
829
863
|
background: var(--gradient-background-error);
|
|
864
|
+
color: #FFFFFF;
|
|
865
|
+
}
|
|
866
|
+
html[data-theme=dark] .prokodo-Button--has-bg-error {
|
|
867
|
+
color: #FFFFFF;
|
|
830
868
|
}
|
|
831
869
|
.prokodo-Button--has-text-inherit, .prokodo-Button--has-text-primary, .prokodo-Button--has-text-secondary, .prokodo-Button--has-text-info, .prokodo-Button--has-text-success, .prokodo-Button--has-text-warning, .prokodo-Button--has-text-error {
|
|
832
870
|
background: none;
|
|
@@ -882,7 +920,7 @@ html[data-theme=dark] .prokodo-Button {
|
|
|
882
920
|
.prokodo-Button--has-variant-outlined {
|
|
883
921
|
position: relative;
|
|
884
922
|
background: none;
|
|
885
|
-
color: var(--color-black)
|
|
923
|
+
color: var(--color-black);
|
|
886
924
|
}
|
|
887
925
|
.prokodo-Button--has-variant-outlined::before {
|
|
888
926
|
content: "";
|
|
@@ -903,6 +941,66 @@ html[data-theme=dark] .prokodo-Button {
|
|
|
903
941
|
html[data-theme=dark] .prokodo-Button--has-variant-outlined {
|
|
904
942
|
background: none;
|
|
905
943
|
}
|
|
944
|
+
.prokodo-Button--has-variant-outlined--has-outline-inherit {
|
|
945
|
+
color: var(--color-black);
|
|
946
|
+
}
|
|
947
|
+
.prokodo-Button--has-variant-outlined--has-outline-inherit::before {
|
|
948
|
+
background: var(--gradient-border-8);
|
|
949
|
+
}
|
|
950
|
+
.prokodo-Button--has-variant-outlined--has-outline-primary {
|
|
951
|
+
color: var(--color-black);
|
|
952
|
+
}
|
|
953
|
+
.prokodo-Button--has-variant-outlined--has-outline-primary::before {
|
|
954
|
+
background: var(--gradient-border-4);
|
|
955
|
+
}
|
|
956
|
+
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-primary {
|
|
957
|
+
color: var(--color-primary-500);
|
|
958
|
+
}
|
|
959
|
+
.prokodo-Button--has-variant-outlined--has-outline-secondary {
|
|
960
|
+
color: var(--color-black);
|
|
961
|
+
}
|
|
962
|
+
.prokodo-Button--has-variant-outlined--has-outline-secondary::before {
|
|
963
|
+
background: var(--gradient-border-2);
|
|
964
|
+
}
|
|
965
|
+
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-secondary {
|
|
966
|
+
color: var(--color-secondary-500);
|
|
967
|
+
}
|
|
968
|
+
.prokodo-Button--has-variant-outlined--has-outline-info {
|
|
969
|
+
color: var(--color-black);
|
|
970
|
+
}
|
|
971
|
+
.prokodo-Button--has-variant-outlined--has-outline-info::before {
|
|
972
|
+
background: var(--gradient-border-info);
|
|
973
|
+
}
|
|
974
|
+
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-info {
|
|
975
|
+
color: #FFFFFF;
|
|
976
|
+
}
|
|
977
|
+
.prokodo-Button--has-variant-outlined--has-outline-success {
|
|
978
|
+
color: var(--color-black);
|
|
979
|
+
}
|
|
980
|
+
.prokodo-Button--has-variant-outlined--has-outline-success::before {
|
|
981
|
+
background: var(--gradient-border-success);
|
|
982
|
+
}
|
|
983
|
+
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-success {
|
|
984
|
+
color: var(--color-success);
|
|
985
|
+
}
|
|
986
|
+
.prokodo-Button--has-variant-outlined--has-outline-warning {
|
|
987
|
+
color: var(--color-black);
|
|
988
|
+
}
|
|
989
|
+
.prokodo-Button--has-variant-outlined--has-outline-warning::before {
|
|
990
|
+
background: var(--gradient-border-warning);
|
|
991
|
+
}
|
|
992
|
+
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-warning {
|
|
993
|
+
color: var(--color-warning);
|
|
994
|
+
}
|
|
995
|
+
.prokodo-Button--has-variant-outlined--has-outline-error {
|
|
996
|
+
color: var(--color-black);
|
|
997
|
+
}
|
|
998
|
+
.prokodo-Button--has-variant-outlined--has-outline-error::before {
|
|
999
|
+
background: var(--gradient-border-error);
|
|
1000
|
+
}
|
|
1001
|
+
html[data-theme=dark] .prokodo-Button--has-variant-outlined--has-outline-error {
|
|
1002
|
+
color: var(--color-error);
|
|
1003
|
+
}
|
|
906
1004
|
.prokodo-Button--has-image, .prokodo-Button--has-icon {
|
|
907
1005
|
display: flex;
|
|
908
1006
|
align-items: center;
|
|
@@ -921,6 +1019,26 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
|
|
|
921
1019
|
}
|
|
922
1020
|
.prokodo-Button--is-disabled {
|
|
923
1021
|
cursor: default;
|
|
1022
|
+
box-shadow: none;
|
|
1023
|
+
color: var(--color-grey-500);
|
|
1024
|
+
background: var(--color-grey-100);
|
|
1025
|
+
background-color: var(--color-grey-100);
|
|
1026
|
+
}
|
|
1027
|
+
.prokodo-Button--is-disabled::before {
|
|
1028
|
+
background: var(--gradient-border-8);
|
|
1029
|
+
}
|
|
1030
|
+
.prokodo-Button--is-disabled:hover {
|
|
1031
|
+
color: var(--color-grey-500);
|
|
1032
|
+
background: var(--color-grey-100);
|
|
1033
|
+
background-color: var(--color-grey-100);
|
|
1034
|
+
}
|
|
1035
|
+
html[data-theme=dark] .prokodo-Button--is-disabled {
|
|
1036
|
+
color: var(--color-grey-600);
|
|
1037
|
+
background: linear-gradient(112deg, var(--color-grey-200) 0%, var(--color-grey-300) 100%);
|
|
1038
|
+
background-color: var(--color-grey-300);
|
|
1039
|
+
}
|
|
1040
|
+
html[data-theme=dark] .prokodo-Button--is-disabled::before {
|
|
1041
|
+
background: linear-gradient(112deg, var(--color-grey-300) 0%, var(--color-grey-500) 100%);
|
|
924
1042
|
}
|
|
925
1043
|
.prokodo-Button__title {
|
|
926
1044
|
display: flex;
|
|
@@ -964,7 +1082,6 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
|
|
|
964
1082
|
width: 100%;
|
|
965
1083
|
}
|
|
966
1084
|
.prokodo-Button__content--icon-only {
|
|
967
|
-
padding: 0.5rem;
|
|
968
1085
|
border-radius: 2000rem;
|
|
969
1086
|
}
|
|
970
1087
|
|
|
@@ -1228,6 +1345,306 @@ html[data-theme=dark] .prokodo-Card__background {
|
|
|
1228
1345
|
}
|
|
1229
1346
|
}
|
|
1230
1347
|
|
|
1348
|
+
.prokodo-Checkbox {
|
|
1349
|
+
display: grid;
|
|
1350
|
+
grid-template-columns: auto 1fr auto;
|
|
1351
|
+
align-items: center;
|
|
1352
|
+
grid-gap: 0.75rem;
|
|
1353
|
+
gap: 0.75rem;
|
|
1354
|
+
padding: 0.5rem 0;
|
|
1355
|
+
border-radius: 12px;
|
|
1356
|
+
background: transparent;
|
|
1357
|
+
border: 1px solid transparent;
|
|
1358
|
+
box-shadow: none;
|
|
1359
|
+
cursor: pointer;
|
|
1360
|
+
-webkit-user-select: none;
|
|
1361
|
+
-moz-user-select: none;
|
|
1362
|
+
user-select: none;
|
|
1363
|
+
}
|
|
1364
|
+
.prokodo-Checkbox--disabled {
|
|
1365
|
+
opacity: 0.55;
|
|
1366
|
+
cursor: not-allowed;
|
|
1367
|
+
}
|
|
1368
|
+
.prokodo-Checkbox:focus-within {
|
|
1369
|
+
outline: 3px solid #1E90FF;
|
|
1370
|
+
outline-offset: 4px;
|
|
1371
|
+
border-radius: 1.5rem;
|
|
1372
|
+
}
|
|
1373
|
+
.prokodo-Checkbox--card {
|
|
1374
|
+
padding: 0.5rem 0;
|
|
1375
|
+
border-radius: 12px;
|
|
1376
|
+
background: transparent;
|
|
1377
|
+
border: 1px solid transparent;
|
|
1378
|
+
box-shadow: none;
|
|
1379
|
+
}
|
|
1380
|
+
.prokodo-Checkbox__left {
|
|
1381
|
+
display: inline-flex;
|
|
1382
|
+
align-items: center;
|
|
1383
|
+
}
|
|
1384
|
+
.prokodo-Checkbox__input {
|
|
1385
|
+
position: absolute;
|
|
1386
|
+
opacity: 0;
|
|
1387
|
+
width: 1px;
|
|
1388
|
+
height: 1px;
|
|
1389
|
+
margin: 0;
|
|
1390
|
+
padding: 0;
|
|
1391
|
+
pointer-events: none;
|
|
1392
|
+
}
|
|
1393
|
+
.prokodo-Checkbox__control {
|
|
1394
|
+
width: 18px;
|
|
1395
|
+
height: 18px;
|
|
1396
|
+
border-radius: 6px;
|
|
1397
|
+
position: relative;
|
|
1398
|
+
border: 2px solid rgba(255, 255, 255, 0.18);
|
|
1399
|
+
background: rgba(255, 255, 255, 0.02);
|
|
1400
|
+
box-shadow: var(--inner-elevation-1);
|
|
1401
|
+
display: inline-flex;
|
|
1402
|
+
align-items: center;
|
|
1403
|
+
justify-content: center;
|
|
1404
|
+
transition: border-color 140ms ease, background 140ms ease;
|
|
1405
|
+
}
|
|
1406
|
+
.prokodo-Checkbox__control::after {
|
|
1407
|
+
content: "";
|
|
1408
|
+
width: 9px;
|
|
1409
|
+
height: 5px;
|
|
1410
|
+
border-left: 2px solid var(--color-primary-500, #2f6bff);
|
|
1411
|
+
border-bottom: 2px solid var(--color-primary-500, #2f6bff);
|
|
1412
|
+
position: absolute;
|
|
1413
|
+
top: 50%;
|
|
1414
|
+
left: 50%;
|
|
1415
|
+
transform: translate(-50%, -50%) rotate(-45deg) scale(0.6);
|
|
1416
|
+
opacity: 0;
|
|
1417
|
+
transition: transform 140ms ease, opacity 140ms ease;
|
|
1418
|
+
}
|
|
1419
|
+
.prokodo-Checkbox__control--checked {
|
|
1420
|
+
border-color: rgba(255, 255, 255, 0.32);
|
|
1421
|
+
}
|
|
1422
|
+
.prokodo-Checkbox__control--checked::after {
|
|
1423
|
+
opacity: 1;
|
|
1424
|
+
transform: translate(-50%, -50%) rotate(-45deg) scale(1);
|
|
1425
|
+
}
|
|
1426
|
+
.prokodo-Checkbox__control--card {
|
|
1427
|
+
box-shadow: var(--inner-elevation-1);
|
|
1428
|
+
}
|
|
1429
|
+
.prokodo-Checkbox__control--card.prokodo-Checkbox__control--checked {
|
|
1430
|
+
background: rgba(255, 255, 255, 0.1);
|
|
1431
|
+
}
|
|
1432
|
+
.prokodo-Checkbox__body {
|
|
1433
|
+
min-width: 0;
|
|
1434
|
+
display: flex;
|
|
1435
|
+
flex-direction: column;
|
|
1436
|
+
gap: 0.25rem;
|
|
1437
|
+
}
|
|
1438
|
+
.prokodo-Checkbox__row {
|
|
1439
|
+
display: inline-flex;
|
|
1440
|
+
align-items: center;
|
|
1441
|
+
gap: 0.5rem;
|
|
1442
|
+
min-width: 0;
|
|
1443
|
+
}
|
|
1444
|
+
.prokodo-Checkbox__title {
|
|
1445
|
+
white-space: nowrap;
|
|
1446
|
+
overflow: hidden;
|
|
1447
|
+
text-overflow: ellipsis;
|
|
1448
|
+
color: var(--color-grey-900);
|
|
1449
|
+
margin: 0;
|
|
1450
|
+
font-weight: 400;
|
|
1451
|
+
font-size: 1.125rem;
|
|
1452
|
+
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
1453
|
+
font-style: normal;
|
|
1454
|
+
line-height: 1.55;
|
|
1455
|
+
letter-spacing: 0.03em;
|
|
1456
|
+
text-transform: none;
|
|
1457
|
+
text-align: left;
|
|
1458
|
+
text-decoration: none;
|
|
1459
|
+
}
|
|
1460
|
+
@media screen and (min-width: 480px) {
|
|
1461
|
+
.prokodo-Checkbox__title {
|
|
1462
|
+
font-size: 1rem;
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
@media screen and (min-width: 960px) {
|
|
1466
|
+
.prokodo-Checkbox__title {
|
|
1467
|
+
font-size: 1rem;
|
|
1468
|
+
}
|
|
1469
|
+
}
|
|
1470
|
+
.prokodo-Checkbox__requiredMark {
|
|
1471
|
+
color: var(--color-error);
|
|
1472
|
+
line-height: 1;
|
|
1473
|
+
font-weight: 400;
|
|
1474
|
+
font-size: 1.125rem;
|
|
1475
|
+
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
1476
|
+
font-style: normal;
|
|
1477
|
+
line-height: 1.55;
|
|
1478
|
+
letter-spacing: 0.03em;
|
|
1479
|
+
text-transform: none;
|
|
1480
|
+
text-align: left;
|
|
1481
|
+
text-decoration: none;
|
|
1482
|
+
}
|
|
1483
|
+
@media screen and (min-width: 480px) {
|
|
1484
|
+
.prokodo-Checkbox__requiredMark {
|
|
1485
|
+
font-size: 1rem;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
@media screen and (min-width: 960px) {
|
|
1489
|
+
.prokodo-Checkbox__requiredMark {
|
|
1490
|
+
font-size: 1rem;
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
.prokodo-Checkbox__desc {
|
|
1494
|
+
color: var(--color-grey-700);
|
|
1495
|
+
opacity: 0.82;
|
|
1496
|
+
overflow: hidden;
|
|
1497
|
+
text-overflow: ellipsis;
|
|
1498
|
+
display: -webkit-box;
|
|
1499
|
+
line-clamp: 2;
|
|
1500
|
+
-webkit-box-orient: vertical;
|
|
1501
|
+
font-weight: 400;
|
|
1502
|
+
font-size: 1rem;
|
|
1503
|
+
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
1504
|
+
font-style: normal;
|
|
1505
|
+
line-height: 1.45;
|
|
1506
|
+
letter-spacing: 0.03em;
|
|
1507
|
+
text-transform: none;
|
|
1508
|
+
text-align: left;
|
|
1509
|
+
text-decoration: none;
|
|
1510
|
+
}
|
|
1511
|
+
@media screen and (min-width: 480px) {
|
|
1512
|
+
.prokodo-Checkbox__desc {
|
|
1513
|
+
font-size: 0.875rem;
|
|
1514
|
+
line-height: 1.4;
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
@media screen and (min-width: 960px) {
|
|
1518
|
+
.prokodo-Checkbox__desc {
|
|
1519
|
+
font-size: 0.875rem;
|
|
1520
|
+
line-height: 1.4;
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
.prokodo-Checkbox__right {
|
|
1524
|
+
justify-self: end;
|
|
1525
|
+
display: inline-flex;
|
|
1526
|
+
align-items: center;
|
|
1527
|
+
align-self: start;
|
|
1528
|
+
margin-top: 2px;
|
|
1529
|
+
}
|
|
1530
|
+
.prokodo-Checkbox__rightIcon {
|
|
1531
|
+
color: var(--color-grey-700);
|
|
1532
|
+
opacity: 0.9;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
.prokodo-CheckboxGroup {
|
|
1536
|
+
margin: 0;
|
|
1537
|
+
padding: 0;
|
|
1538
|
+
border: 0;
|
|
1539
|
+
min-width: 0;
|
|
1540
|
+
}
|
|
1541
|
+
.prokodo-CheckboxGroup__legend {
|
|
1542
|
+
margin: 0 0 0.5rem 0;
|
|
1543
|
+
padding: 0;
|
|
1544
|
+
opacity: 0.82;
|
|
1545
|
+
display: inline-flex;
|
|
1546
|
+
align-items: center;
|
|
1547
|
+
gap: 0.25rem;
|
|
1548
|
+
font-weight: 400;
|
|
1549
|
+
font-size: 1rem;
|
|
1550
|
+
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
1551
|
+
font-style: normal;
|
|
1552
|
+
line-height: 1.45;
|
|
1553
|
+
letter-spacing: 0.03em;
|
|
1554
|
+
text-transform: none;
|
|
1555
|
+
text-align: left;
|
|
1556
|
+
text-decoration: none;
|
|
1557
|
+
}
|
|
1558
|
+
@media screen and (min-width: 480px) {
|
|
1559
|
+
.prokodo-CheckboxGroup__legend {
|
|
1560
|
+
font-size: 0.875rem;
|
|
1561
|
+
line-height: 1.4;
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
@media screen and (min-width: 960px) {
|
|
1565
|
+
.prokodo-CheckboxGroup__legend {
|
|
1566
|
+
font-size: 0.875rem;
|
|
1567
|
+
line-height: 1.4;
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
.prokodo-CheckboxGroup__legend--is-hidden {
|
|
1571
|
+
position: absolute;
|
|
1572
|
+
top: auto;
|
|
1573
|
+
left: -99999px;
|
|
1574
|
+
width: 0;
|
|
1575
|
+
height: 0;
|
|
1576
|
+
text-indent: -99999px;
|
|
1577
|
+
}
|
|
1578
|
+
.prokodo-CheckboxGroup__legendLabel {
|
|
1579
|
+
color: var(--color-grey-900);
|
|
1580
|
+
font-weight: 400;
|
|
1581
|
+
font-size: 1rem;
|
|
1582
|
+
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
1583
|
+
font-style: normal;
|
|
1584
|
+
line-height: 1.45;
|
|
1585
|
+
letter-spacing: 0.03em;
|
|
1586
|
+
text-transform: none;
|
|
1587
|
+
text-align: left;
|
|
1588
|
+
text-decoration: none;
|
|
1589
|
+
}
|
|
1590
|
+
@media screen and (min-width: 480px) {
|
|
1591
|
+
.prokodo-CheckboxGroup__legendLabel {
|
|
1592
|
+
font-size: 0.875rem;
|
|
1593
|
+
line-height: 1.4;
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
@media screen and (min-width: 960px) {
|
|
1597
|
+
.prokodo-CheckboxGroup__legendLabel {
|
|
1598
|
+
font-size: 0.875rem;
|
|
1599
|
+
line-height: 1.4;
|
|
1600
|
+
}
|
|
1601
|
+
}
|
|
1602
|
+
.prokodo-CheckboxGroup__legendRequiredMark {
|
|
1603
|
+
color: var(--color-error);
|
|
1604
|
+
line-height: 1;
|
|
1605
|
+
font-weight: 400;
|
|
1606
|
+
font-size: 1rem;
|
|
1607
|
+
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
1608
|
+
font-style: normal;
|
|
1609
|
+
line-height: 1.45;
|
|
1610
|
+
letter-spacing: 0.03em;
|
|
1611
|
+
text-transform: none;
|
|
1612
|
+
text-align: left;
|
|
1613
|
+
text-decoration: none;
|
|
1614
|
+
}
|
|
1615
|
+
@media screen and (min-width: 480px) {
|
|
1616
|
+
.prokodo-CheckboxGroup__legendRequiredMark {
|
|
1617
|
+
font-size: 0.875rem;
|
|
1618
|
+
line-height: 1.4;
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
@media screen and (min-width: 960px) {
|
|
1622
|
+
.prokodo-CheckboxGroup__legendRequiredMark {
|
|
1623
|
+
font-size: 0.875rem;
|
|
1624
|
+
line-height: 1.4;
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
.prokodo-CheckboxGroup__list {
|
|
1628
|
+
display: flex;
|
|
1629
|
+
flex-direction: column;
|
|
1630
|
+
gap: 0.5rem;
|
|
1631
|
+
min-width: 0;
|
|
1632
|
+
}
|
|
1633
|
+
.prokodo-CheckboxGroup__list--plain {
|
|
1634
|
+
gap: 0;
|
|
1635
|
+
}
|
|
1636
|
+
.prokodo-CheckboxGroup__list--grid {
|
|
1637
|
+
display: grid;
|
|
1638
|
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
1639
|
+
}
|
|
1640
|
+
.prokodo-CheckboxGroup__item {
|
|
1641
|
+
min-width: 0;
|
|
1642
|
+
}
|
|
1643
|
+
.prokodo-CheckboxGroup__item--disabled {
|
|
1644
|
+
opacity: 0.55;
|
|
1645
|
+
cursor: not-allowed;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1231
1648
|
.prokodo-Chip {
|
|
1232
1649
|
display: inline-flex;
|
|
1233
1650
|
align-items: center;
|
|
@@ -4783,7 +5200,11 @@ html[data-theme=dark] .prokodo-Skeleton::after {
|
|
|
4783
5200
|
color: var(--color-black);
|
|
4784
5201
|
}
|
|
4785
5202
|
.prokodo-Snackbar--info {
|
|
4786
|
-
background-color: var(--color-
|
|
5203
|
+
background-color: var(--color-grey-500);
|
|
5204
|
+
}
|
|
5205
|
+
html[data-theme=dark] .prokodo-Snackbar--info {
|
|
5206
|
+
background-color: var(--color-grey-300);
|
|
5207
|
+
color: var(--color-grey-900);
|
|
4787
5208
|
}
|
|
4788
5209
|
.prokodo-Snackbar__message {
|
|
4789
5210
|
flex: 1 1;
|