@mptw/skylens-ui 1.5.0 → 1.5.2

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.
Files changed (111) hide show
  1. package/AGENTS.md +59 -0
  2. package/CLAUDE.md +36 -0
  3. package/README.md +7 -7
  4. package/app/app.config.ts +11 -2
  5. package/app/app.vue +5 -0
  6. package/app/assets/css/layout.css +134 -0
  7. package/app/assets/css/main.css +189 -0
  8. package/app/components/SLAlertModal.vue +24 -16
  9. package/app/components/SLBreadcrumbs.vue +12 -8
  10. package/app/components/SLButton.vue +196 -163
  11. package/app/components/SLCalendarButton.vue +40 -34
  12. package/app/components/SLCalendarPopup.vue +79 -53
  13. package/app/components/SLCard.vue +57 -41
  14. package/app/components/SLChart.vue +6 -3
  15. package/app/components/SLCheckbox.vue +92 -49
  16. package/app/components/SLCircleButton.vue +25 -16
  17. package/app/components/SLCollapsableBlock.vue +44 -33
  18. package/app/components/SLCollapsableMulitPillSelect.vue +20 -15
  19. package/app/components/SLConfirmModal.vue +9 -6
  20. package/app/components/SLContextMenu.vue +88 -48
  21. package/app/components/SLDateInput.vue +109 -92
  22. package/app/components/SLDatePicker.vue +9 -7
  23. package/app/components/SLDistributor.vue +1 -1
  24. package/app/components/SLDownloadButton.vue +39 -29
  25. package/app/components/SLDraggable.vue +2 -2
  26. package/app/components/SLDropdown.vue +33 -25
  27. package/app/components/SLDropdownItem.vue +9 -5
  28. package/app/components/SLElementWithTitle.vue +12 -7
  29. package/app/components/SLEyeCheckbox.vue +44 -31
  30. package/app/components/SLFileInput.vue +23 -16
  31. package/app/components/SLGenderAgeSelect.vue +52 -36
  32. package/app/components/SLHourRangeInput.vue +45 -32
  33. package/app/components/SLIOSSwitch.vue +81 -60
  34. package/app/components/SLIcon.vue +4 -3
  35. package/app/components/SLIconButton.vue +31 -29
  36. package/app/components/SLInfoTip.vue +51 -40
  37. package/app/components/SLInsightSitePage.vue +12 -7
  38. package/app/components/SLLegend.vue +19 -12
  39. package/app/components/SLLinearProgressBar.vue +7 -20
  40. package/app/components/SLLink.vue +12 -8
  41. package/app/components/SLLoading.vue +34 -31
  42. package/app/components/SLMapChart.vue +5 -4
  43. package/app/components/SLModal.vue +90 -66
  44. package/app/components/SLMonthCalendarButton.vue +91 -45
  45. package/app/components/SLMonthPicker.vue +42 -37
  46. package/app/components/SLMultiEmailInput.vue +163 -113
  47. package/app/components/SLMultiSelect.vue +37 -26
  48. package/app/components/SLNoData.vue +16 -11
  49. package/app/components/SLNotification.vue +133 -129
  50. package/app/components/SLPageModal.vue +14 -9
  51. package/app/components/SLPagination.vue +45 -33
  52. package/app/components/SLPillCheckbox.vue +50 -42
  53. package/app/components/SLPillLabel.vue +43 -28
  54. package/app/components/SLPopupMenuButton.vue +26 -17
  55. package/app/components/SLProfileButton.vue +28 -20
  56. package/app/components/SLProjectShareItem.vue +30 -17
  57. package/app/components/SLRadioButton.vue +41 -33
  58. package/app/components/SLRadioButtonGroup.vue +28 -23
  59. package/app/components/SLRadioGroup.vue +90 -78
  60. package/app/components/SLRangeInput.vue +53 -38
  61. package/app/components/SLRegionsMapChart.vue +5 -4
  62. package/app/components/SLRightSider.vue +50 -40
  63. package/app/components/SLSearchInput.vue +24 -19
  64. package/app/components/SLSelect.vue +114 -87
  65. package/app/components/SLSelectAllToggle.vue +52 -37
  66. package/app/components/SLSidebarNav.vue +253 -193
  67. package/app/components/SLSidebarNavGroupItem.vue +13 -10
  68. package/app/components/SLSidebarNavGroupItemSection.vue +240 -179
  69. package/app/components/SLSidebarNavLinkItem.vue +131 -109
  70. package/app/components/SLSidebarNavSectionItem.vue +21 -18
  71. package/app/components/SLSitePage.vue +35 -24
  72. package/app/components/SLSkyInsightSitePage.vue +13 -8
  73. package/app/components/SLSortByDropdown.vue +35 -22
  74. package/app/components/SLSpinIcon.vue +6 -3
  75. package/app/components/SLStayRangeInput.vue +47 -36
  76. package/app/components/SLTab.vue +7 -2
  77. package/app/components/SLTable.vue +330 -313
  78. package/app/components/SLTableTooltip.vue +44 -30
  79. package/app/components/SLTabs.vue +333 -280
  80. package/app/components/SLTextInput.vue +162 -134
  81. package/app/components/SLTextarea.vue +40 -29
  82. package/app/components/SLToast.vue +19 -11
  83. package/app/components/SLToggleButton.vue +18 -11
  84. package/app/components/SLTwoLayerMultiSelect.vue +180 -85
  85. package/app/components/SLTwoLayerSelect.vue +47 -37
  86. package/app/components/SLTwoLayerSingleSelect.vue +52 -33
  87. package/app/components/SLWarnModal.vue +9 -7
  88. package/app/interface/commons.ts +7 -0
  89. package/app/utils/index.ts +213 -146
  90. package/eslint.config.js +3 -0
  91. package/nuxt.config.ts +17 -14
  92. package/package.json +9 -8
  93. package/skills-lock.json +59 -0
  94. package/tsconfig.json +1 -6
  95. package/.eslintrc.cjs +0 -4
  96. package/app/assets/css/layout.styl +0 -98
  97. package/app/assets/css/tailwind.css +0 -3
  98. package/app/pages/index.vue +0 -15
  99. package/interface/commons.ts +0 -7
  100. package/tailwind.config.js +0 -271
  101. /package/{interface → app/interface}/IDateRange.ts +0 -0
  102. /package/{interface → app/interface}/IHourRange.ts +0 -0
  103. /package/{interface → app/interface}/IInputOption.ts +0 -0
  104. /package/{interface → app/interface}/ILegendItem.ts +0 -0
  105. /package/{interface → app/interface}/IOrganization.ts +0 -0
  106. /package/{interface → app/interface}/IPopupMenuButton.ts +0 -0
  107. /package/{interface → app/interface}/IStayRange.ts +0 -0
  108. /package/{interface → app/interface}/ITableField.ts +0 -0
  109. /package/{interface → app/interface}/IWeb.ts +0 -0
  110. /package/{interface → app/interface}/NavConfigType.ts +0 -0
  111. /package/{models → app/models}/DateRange.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  <template lang="pug">
2
- .chart
2
+ .region-map-chart
3
3
  ECharts(
4
4
  :loading="loading"
5
5
  :option="formatedOption"
@@ -144,7 +144,8 @@ export default defineComponent({
144
144
  });
145
145
  </script>
146
146
 
147
- <style lang="stylus">
148
- .chart
149
- @apply h-52
147
+ <style>
148
+ .region-map-chart {
149
+ @apply h-52;
150
+ }
150
151
  </style>
@@ -199,44 +199,54 @@ export default defineComponent({
199
199
  });
200
200
  </script>
201
201
 
202
- <style lang="stylus">
203
- .right-sider
204
- @apply fixed top-0 right-0 h-full
205
- z-index 9
206
-
207
- &.show, &.hover
208
- @apply z-50
209
-
210
- &.show
211
- .right-sider-modal
212
- @apply block
213
-
214
- &-modal
215
- @apply fixed top-0 left-0 w-full h-full s('bg-mask/70') hidden
216
-
217
- &-content
218
- @apply absolute top-4 left-0 flex p-6 bg-white border-t border-l border-b border-primary-600 rounded-l-lg shadow-popup-lg transition-margin
219
- max-width calc(100vw - 16px)
220
- max-height calc(100% - theme('spacing.8'))
221
-
222
- .sider-toggle
223
- @apply absolute top-0 left-0 inline-flex p-3 rounded-l-full text-lg text-white
224
- margin-top 123px
225
- margin-left -44px
226
-
227
- &-third
228
- @apply bg-third-600
229
-
230
- &-purple
231
- @apply bg-edit
232
-
233
- &-wrapper
234
- @apply flex max-w-full overflow-hidden
235
-
236
- .sider-close-button
237
- @apply absolute top-0 right-0 inline-flex mt-6 mr-6 text-base text-primary
238
-
239
- &-addition-content
240
- @apply absolute top-4 right-0 flex bg-white border border-primary-600 rounded-lg overflow-hidden shadow-popup-lg transition-margin
241
- max-height calc(100% - theme('spacing.8'))
202
+ <style>
203
+ @reference '~ui/app/assets/css/main.css';
204
+
205
+ .right-sider {
206
+ @apply z-9 fixed top-0 right-0 h-full;
207
+ }
208
+
209
+ .right-sider.show,
210
+ .right-sider.hover {
211
+ @apply z-50;
212
+ }
213
+
214
+ .right-sider.show .right-sider-modal {
215
+ @apply block;
216
+ }
217
+
218
+ .right-sider-modal {
219
+ @apply fixed top-0 left-0 w-full h-full bg-mask/70 hidden;
220
+ }
221
+
222
+ .right-sider-content {
223
+ @apply absolute top-4 left-0 flex p-6 bg-white border-t border-l border-b border-primary-600 rounded-l-lg shadow-popup-lg transition-[margin];
224
+ max-width: calc(100vw - var(--spacing) * 4);
225
+ max-height: calc(100% - var(--spacing) * 8);
226
+ }
227
+
228
+ .right-sider-content .sider-toggle {
229
+ @apply absolute top-0 left-0 inline-flex mt-30.75 -ml-11 p-3 rounded-l-full text-lg text-white;
230
+ }
231
+
232
+ .right-sider-content .sider-toggle.sider-toggle-third {
233
+ @apply bg-third-600;
234
+ }
235
+
236
+ .right-sider-content .sider-toggle.sider-toggle-purple {
237
+ @apply bg-edit;
238
+ }
239
+
240
+ .right-sider-content-wrapper {
241
+ @apply flex max-w-full overflow-hidden;
242
+ }
243
+
244
+ .right-sider-content .sider-close-button {
245
+ @apply absolute top-0 right-0 inline-flex mt-6 mr-6 text-base text-primary;
246
+ }
247
+
248
+ .right-sider-addition-content {
249
+ @apply absolute top-4 right-0 flex bg-white border border-primary-600 rounded-lg overflow-hidden shadow-popup-lg transition-[margin];
250
+ max-height: calc(100% - var(--spacing) * 8);
251
+ }
242
252
  </style>
@@ -71,29 +71,34 @@ export default defineComponent({
71
71
  });
72
72
  </script>
73
73
 
74
- <style lang="stylus">
75
- .search-input
76
- .is-focus
77
- .button-group
78
- @apply border-primary
74
+ <style>
75
+ @reference '~ui/app/assets/css/main.css';
79
76
 
80
- &.search-input--sm
81
- .button-group
82
- @apply s('py-0.75')
77
+ .search-input .is-focus .button-group {
78
+ @apply border-primary;
79
+ }
80
+
81
+ .search-input.search-input--sm .button-group {
82
+ @apply py-0.75;
83
+ }
83
84
 
84
- .btn
85
- @apply text-sm
85
+ .search-input.search-input--sm .button-group .btn {
86
+ @apply text-sm;
87
+ }
86
88
 
87
- .input-group-append
88
- @apply inline-flex border-t border-r border-b border-primary-600 rounded-r bg-white
89
+ .search-input .input-group-append {
90
+ @apply inline-flex border-t border-r border-b border-primary-600 rounded-r bg-white;
91
+ }
89
92
 
90
- .button-group
91
- @apply inline-flex items-center s('py-1.75') s('pr-1.75') s('space-x-1.75')
93
+ .search-input .button-group {
94
+ @apply inline-flex items-center py-1.75 pr-1.75 space-x-1.75;
95
+ }
92
96
 
93
- &-divider
94
- @apply w-px h-full my-px bg-primary-600
97
+ .search-input .button-group-divider {
98
+ @apply w-px h-full my-px bg-primary-600;
99
+ }
95
100
 
96
- .btn
97
- @apply p-0 border-0 text-pgray-3 s('focus:outline-none') s('active:outline-none')
101
+ .search-input .button-group .btn {
102
+ @apply p-0 border-0 text-pgray-3 focus:outline-none active:outline-none;
103
+ }
98
104
  </style>
99
-
@@ -47,8 +47,8 @@ import { createPopper } from "@popperjs/core";
47
47
  import type { Placement } from "@popperjs/core";
48
48
  import { gsap } from "gsap";
49
49
  import { ScrollToPlugin } from "gsap/ScrollToPlugin";
50
- import { getUID } from "~ui/utils";
51
- import type IInputOption from "~ui/interface/IInputOption";
50
+ import { getUID } from "~ui/app/utils";
51
+ import type IInputOption from "~ui/app/interface/IInputOption";
52
52
 
53
53
  gsap.registerPlugin(ScrollToPlugin);
54
54
 
@@ -152,7 +152,9 @@ export default defineComponent({
152
152
  const select = shallowRef<HTMLElement | null>(null);
153
153
  const uid = ref<string | undefined>(undefined);
154
154
  const modelProxy = ref(
155
- Array.isArray(modelValue.value) ? [...modelValue.value] : modelValue.value
155
+ Array.isArray(modelValue.value)
156
+ ? [...modelValue.value]
157
+ : modelValue.value,
156
158
  );
157
159
  const search = ref("");
158
160
  const isSelecting = ref(false);
@@ -342,7 +344,7 @@ export default defineComponent({
342
344
  )
343
345
  return;
344
346
  modelProxy.value = modelProxy.value.filter(
345
- (v: any) => v !== newValue
347
+ (v: any) => v !== newValue,
346
348
  );
347
349
  } else {
348
350
  if (
@@ -452,111 +454,136 @@ export default defineComponent({
452
454
  });
453
455
  </script>
454
456
 
455
- <style lang="stylus" scoped>
456
- .custom-select
457
- @apply relative
457
+ <style scoped>
458
+ @reference '~ui/app/assets/css/main.css';
458
459
 
459
- &.inline
460
- @apply flex
460
+ .custom-select {
461
+ @apply relative;
462
+ }
461
463
 
462
- .input-label
463
- @apply flex-grow-0 flex-shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent
464
+ .custom-select.inline {
465
+ @apply flex;
466
+ }
464
467
 
465
- .form-control
466
- @apply flex-grow
468
+ .custom-select.inline .input-label {
469
+ @apply grow-0 shrink-0 mb-0 mr-2 py-2 border-t border-b border-transparent;
470
+ }
467
471
 
468
- &.custom-select-xs
469
- .form-control
470
- label
471
- @apply py-px s('px-0.75') text-xs
472
+ .custom-select.inline .form-control {
473
+ @apply grow;
474
+ }
472
475
 
473
- &.custom-select-sm
474
- .form-control
475
- label
476
- @apply s("py-0.75") text-sm
476
+ .custom-select.custom-select-xs .form-control label {
477
+ @apply py-px px-0.75 text-xs;
478
+ }
477
479
 
478
- &.disabled, &.readonly
479
- .form-control
480
- label
481
- @apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default
480
+ .custom-select.custom-select-sm .form-control label {
481
+ @apply py-0.75 text-sm;
482
+ }
482
483
 
483
- .icon
484
- @apply text-pgray-4
484
+ .custom-select.disabled .form-control label,
485
+ .custom-select.readonly .form-control label {
486
+ @apply border-primary-600 bg-primary-100 text-pgray-4 cursor-default;
487
+ }
485
488
 
486
- .input-label
487
- @apply mb-2 text-base leading-normal text-pgray-2
489
+ .custom-select.disabled .form-control label .icon,
490
+ .custom-select.readonly .form-control label .icon {
491
+ @apply text-pgray-4;
492
+ }
488
493
 
489
- .form-control
490
- @apply relative block overflow-hidden
494
+ .custom-select .input-label {
495
+ @apply mb-2 text-base leading-[1.3125] text-pgray-2;
496
+ }
491
497
 
492
- &.is-invalid
493
- .toggle-button
494
- @apply border-danger-light
498
+ .custom-select .form-control {
499
+ @apply relative block overflow-hidden;
500
+ }
495
501
 
496
- .invalid-feedback
497
- @apply block
502
+ .custom-select .form-control.is-invalid .toggle-button {
503
+ @apply border-danger-light;
504
+ }
498
505
 
499
- select
500
- @apply absolute outline-none
506
+ .custom-select .form-control.is-invalid .invalid-feedback {
507
+ @apply block;
508
+ }
501
509
 
502
- label
503
- @apply relative flex items-center s("p-1.75") bg-white border border-primary-600 rounded text-base leading-normal text-pgray-4 space-x-2 cursor-pointer
510
+ .custom-select .form-control select {
511
+ @apply absolute outline-none;
512
+ }
504
513
 
505
- &.selected
506
- @apply text-pgray-2
514
+ .custom-select .form-control label {
515
+ @apply relative flex items-center p-1.75 bg-white border border-primary-600 rounded text-base leading-[1.3125] text-pgray-4 space-x-2 cursor-pointer;
516
+ }
507
517
 
508
- .button-title
509
- @apply flex-grow truncate
518
+ .custom-select .form-control label.selected {
519
+ @apply text-pgray-2;
520
+ }
510
521
 
511
- .icon
512
- @apply flex-grow-0 flex-shrink-0 text-xs text-pgray-2
522
+ .custom-select .form-control label .button-title {
523
+ @apply grow truncate;
524
+ }
513
525
 
514
- .invalid-feedback
515
- @apply hidden text-danger text-xs
526
+ .custom-select .form-control label .icon {
527
+ @apply grow-0 shrink-0 text-xs text-pgray-2;
528
+ }
516
529
 
517
- .select-options
518
- @apply flex flex-col z-60 absolute invisible border border-primary-600 rounded bg-white overflow-hidden pointer-events-none
530
+ .custom-select .invalid-feedback {
531
+ @apply hidden text-danger text-xs;
532
+ }
519
533
 
520
- &.select-options--xs
521
- .option-list
522
- .option-button
523
- @apply py-1 text-xs
534
+ .select-options {
535
+ @apply flex flex-col z-60 absolute invisible border border-primary-600 rounded bg-white overflow-hidden pointer-events-none;
536
+ }
524
537
 
525
- &.select-options--sm
526
- .option-list
527
- .option-button
528
- @apply py-1 text-sm
538
+ .select-options.select-options--xs .option-list .option-button {
539
+ @apply py-1 text-xs;
540
+ }
529
541
 
530
- &[data-show]
531
- @apply visible pointer-events-auto
542
+ .select-options.select-options--sm .option-list .option-button {
543
+ @apply py-1 text-sm;
544
+ }
532
545
 
533
- .options-header
534
- @apply p-1
546
+ .select-options[data-show] {
547
+ @apply visible pointer-events-auto;
548
+ }
535
549
 
536
- .options-wrapper
537
- @apply relative w-full s("max-h-[11.6875rem]") rounded overflow-auto
550
+ .select-options .options-header {
551
+ @apply p-1;
552
+ }
538
553
 
539
- .option-list
540
- @apply flex flex-col
541
-
542
- .option-button
543
- @apply block s("min-w-[10.125rem]") s('p-1.75') bg-white text-base leading-normal text-pgray-3 s("hover:bg-primary-100") s("hover:text-primary")
544
-
545
- &.selected
546
- @apply bg-primary-100 text-primary
547
-
548
- .icon-square
549
- @apply hidden
550
-
551
- .icon-check-square
552
- @apply inline-block
553
-
554
- &.disabled
555
- @apply cursor-default s("hover:bg-white") s("hover:text-pgray-3")
556
-
557
- .icon
558
- @apply mr-2
559
-
560
- &-check-square
561
- @apply hidden
554
+ .select-options .options-wrapper {
555
+ @apply relative w-full max-h-[11.6875rem] rounded overflow-auto;
556
+ }
557
+
558
+ .select-options .option-list {
559
+ @apply flex flex-col;
560
+ }
561
+
562
+ .select-options .option-list .option-button {
563
+ @apply block min-w-[10.125rem] p-1.75 bg-white text-base leading-[1.3125] text-pgray-3 hover:bg-primary-100 hover:text-primary;
564
+ }
565
+
566
+ .select-options .option-list .option-button.selected {
567
+ @apply bg-primary-100 text-primary;
568
+ }
569
+
570
+ .select-options .option-list .option-button.selected .icon-square {
571
+ @apply hidden;
572
+ }
573
+
574
+ .select-options .option-list .option-button.selected .icon-check-square {
575
+ @apply inline-block;
576
+ }
577
+
578
+ .select-options .option-list .option-button.disabled {
579
+ @apply cursor-default hover:bg-white hover:text-pgray-3;
580
+ }
581
+
582
+ .select-options .option-list .option-button .icon {
583
+ @apply mr-2;
584
+ }
585
+
586
+ .select-options .option-list .option-button .icon-check-square {
587
+ @apply hidden;
588
+ }
562
589
  </style>
@@ -30,8 +30,7 @@ export default defineComponent({
30
30
  color: {
31
31
  type: String,
32
32
  default: "primary-600",
33
- validator: (val: string) =>
34
- ["primary-600", "secondary"].includes(val),
33
+ validator: (val: string) => ["primary-600", "secondary"].includes(val),
35
34
  },
36
35
  },
37
36
  emits: ["select:all", "select:none"],
@@ -65,54 +64,70 @@ export default defineComponent({
65
64
  });
66
65
  </script>
67
66
 
68
- <style lang="stylus">
69
- .select-all-toggle
70
- @apply inline-flex items-stretch border rounded-sm bg-white overflow-hidden
67
+ <style>
68
+ @reference '~ui/app/assets/css/main.css';
71
69
 
72
- &.select-all-toggle-xs
73
- .select-all-option
74
- @apply text-xs
70
+ .select-all-toggle {
71
+ @apply inline-flex items-stretch border rounded-sm bg-white overflow-hidden;
72
+ }
75
73
 
76
- &.select-all-toggle-sm
77
- .select-all-option
78
- @apply s('py-1.25') text-xs
74
+ .select-all-toggle.select-all-toggle-xs .select-all-option {
75
+ @apply text-xs;
76
+ }
79
77
 
80
- &.select-all-toggle-primary-600
81
- @apply border-primary-600
78
+ .select-all-toggle.select-all-toggle-sm .select-all-option {
79
+ @apply py-1.25 text-xs;
80
+ }
82
81
 
83
- .select-all-option
84
- @apply text-primary-600
82
+ .select-all-toggle.select-all-toggle-primary-600 {
83
+ @apply border-primary-600;
84
+ }
85
85
 
86
- &.active
87
- @apply bg-primary
86
+ .select-all-toggle.select-all-toggle-primary-600 .select-all-option {
87
+ @apply text-primary-600;
88
+ }
88
89
 
89
- .select-all-divider
90
- @apply bg-primary-600
90
+ .select-all-toggle.select-all-toggle-primary-600 .select-all-option.active {
91
+ @apply bg-primary;
92
+ }
91
93
 
92
- &.select-all-toggle-secondary
93
- @apply border-secondary-400
94
+ .select-all-toggle.select-all-toggle-primary-600 .select-all-divider {
95
+ @apply bg-primary-600;
96
+ }
94
97
 
95
- .select-all-option
96
- @apply text-secondary-400
98
+ .select-all-toggle.select-all-toggle-secondary {
99
+ @apply border-secondary-400;
100
+ }
97
101
 
98
- &.active
99
- @apply bg-secondary
102
+ .select-all-toggle.select-all-toggle-secondary .select-all-option {
103
+ @apply text-secondary-400;
104
+ }
100
105
 
101
- .select-all-divider
102
- @apply bg-primary-600
106
+ .select-all-toggle.select-all-toggle-secondary .select-all-option.active {
107
+ @apply bg-secondary;
108
+ }
103
109
 
104
- .select-all-option
105
- @apply block py-1 bg-white text-sm
110
+ .select-all-toggle.select-all-toggle-secondary .select-all-divider {
111
+ @apply bg-primary-600;
112
+ }
106
113
 
107
- &.active
108
- @apply text-white
114
+ .select-all-toggle .select-all-option {
115
+ @apply block py-1 bg-white text-sm;
116
+ }
109
117
 
110
- &-all
111
- @apply px-2
118
+ .select-all-toggle .select-all-option.active {
119
+ @apply text-white;
120
+ }
112
121
 
113
- &-none
114
- @apply pr-2 s('pl-1.75')
122
+ .select-all-toggle .select-all-option-all {
123
+ @apply px-2;
124
+ }
115
125
 
116
- .select-all-divider
117
- @apply s('mt-0.5') s('mb-0.5') w-px
126
+ .select-all-toggle .select-all-option-none {
127
+ @apply pr-2 pl-1.75;
128
+ }
129
+
130
+ .select-all-toggle .select-all-divider {
131
+ @apply mt-0.5 mb-0.5 w-px;
132
+ }
118
133
  </style>