@sybilion/uilib 1.6.0 → 1.6.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/README.md +1 -1
- package/assets/base.css +3 -4
- package/assets/globals.css +1 -1
- package/dist/esm/src/components/ui/AnalysesSelector/AnalysesSelector.styl.js +1 -1
- package/dist/esm/src/components/ui/AppHeader/AppHeader.styl.js +1 -1
- package/dist/esm/src/components/ui/Breadcrumb/Breadcrumb.styl.js +1 -1
- package/dist/esm/src/components/ui/Button/Button.styl.js +1 -1
- package/dist/esm/src/components/ui/Checkbox/Checkbox.styl.js +1 -1
- package/dist/esm/src/components/ui/Chip/Chip.styl.js +1 -1
- package/dist/esm/src/components/ui/DatePicker/DatePicker.styl.js +1 -1
- package/dist/esm/src/components/ui/Dialog/Dialog.styl.js +1 -1
- package/dist/esm/src/components/ui/DropdownMenu/DropdownMenu.styl.js +1 -1
- package/dist/esm/src/components/ui/FileChip/FileChip.styl.js +1 -1
- package/dist/esm/src/components/ui/Input/Input.styl.js +1 -1
- package/dist/esm/src/components/ui/LegacyPlatformLink/LegacyPlatformLink.styl.js +1 -1
- package/dist/esm/src/components/ui/Notifications/Notifications.styl.js +1 -1
- package/dist/esm/src/components/ui/RadioGroup/RadioGroup.styl.js +1 -1
- package/dist/esm/src/components/ui/Select/Select.styl.js +1 -1
- package/dist/esm/src/components/ui/Sheet/Sheet.styl.js +1 -1
- package/dist/esm/src/components/ui/Sidebar/SidebarGroupAction/SidebarGroupAction.styl.js +1 -1
- package/dist/esm/src/components/ui/Sidebar/SidebarMenuAction/SidebarMenuAction.styl.js +1 -1
- package/dist/esm/src/components/ui/Sidebar/SidebarMenuButton/SidebarMenuButton.styl.js +1 -1
- package/dist/esm/src/components/ui/Sidebar/SidebarMenuSubButton/SidebarMenuSubButton.styl.js +1 -1
- package/dist/esm/src/components/ui/Sidebar/SidebarRail/SidebarRail.styl.js +1 -1
- package/dist/esm/src/components/ui/Sidebar/SidebarResizeHandle/SidebarResizeHandle.styl.js +1 -1
- package/dist/esm/src/components/ui/Slider/Slider.styl.js +1 -1
- package/dist/esm/src/components/ui/SupplyChainMap/SupplyChainMap.styl.js +1 -1
- package/dist/esm/src/components/ui/SupplyChainMap/use-map-base-renderer.js +2 -2
- package/dist/esm/src/components/ui/Switch/Switch.styl.js +1 -1
- package/dist/esm/src/components/ui/Tabs/Tabs.styl.js +1 -1
- package/dist/esm/src/components/ui/Toggle/Toggle.styl.js +1 -1
- package/dist/esm/src/components/ui/ToggleGroup/ToggleGroup.styl.js +1 -1
- package/dist/esm/src/components/ui/WorkspaceAppSwitcher/WorkspaceAppSwitcher.styl.js +1 -1
- package/dist/esm/src/components/widgets/DriverMap/DriverIcon/DriverIcon.styl.js +1 -1
- package/dist/esm/types/src/docs/config/vite.config.d.ts +2 -0
- package/dist/esm/types/tests/buttonStyles.test.d.ts +1 -0
- package/dist/esm/types/tests/focusOutline.test.d.ts +1 -0
- package/package.json +6 -26
- package/src/components/ui/Button/Button.styl +118 -104
- package/src/components/ui/SupplyChainMap/use-map-base-renderer.ts +2 -1
- package/src/docs/config/vite.config.ts +253 -0
- package/src/lib/theme.styl +3 -1
- package/assets/index.html +0 -18
- package/src/docs/config/webpack.config.js +0 -275
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Slider_sliderRoot__h9oha{align-items:center;display:flex;height:20px;overflow:visible;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.Slider_sliderTrack__ZJT87{background-color:var(--border);border-radius:20px;cursor:pointer;flex-grow:1;height:calc(100% - 4px);margin-left:-8px;margin-right:-8px;position:relative;touch-action:none;width:calc(100% + 16px)}.dark .Slider_sliderTrack__ZJT87{background-color:var(--input)}.Slider_sliderRange__W4bae{background-color:var(--primary);border-radius:20px;height:100%;position:absolute}.Slider_sliderThumbContainer__foas-{height:100%;left:8px;pointer-events:none;position:absolute;right:8px}.Slider_sliderThumb__cUXFL{background-color:var(--card);border:2px solid var(--primary);border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.1);cursor:grab;display:block;height:16px;outline:none;pointer-events:auto;position:absolute;top:50%;touch-action:none;transform:translate(-50%,-50%);transition:transform .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:16px}.Slider_sliderThumb__cUXFL:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Slider_sliderRoot__h9oha{align-items:center;display:flex;height:20px;overflow:visible;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.Slider_sliderTrack__ZJT87{background-color:var(--border);border-radius:20px;cursor:pointer;flex-grow:1;height:calc(100% - 4px);margin-left:-8px;margin-right:-8px;position:relative;touch-action:none;width:calc(100% + 16px)}.dark .Slider_sliderTrack__ZJT87{background-color:var(--input)}.Slider_sliderRange__W4bae{background-color:var(--primary);border-radius:20px;height:100%;position:absolute}.Slider_sliderThumbContainer__foas-{height:100%;left:8px;pointer-events:none;position:absolute;right:8px}.Slider_sliderThumb__cUXFL{background-color:var(--card);border:2px solid var(--primary);border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.1);cursor:grab;display:block;height:16px;outline:none;pointer-events:auto;position:absolute;top:50%;touch-action:none;transform:translate(-50%,-50%);transition:transform .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:16px}.Slider_sliderThumb__cUXFL:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.Slider_sliderThumb__cUXFL:hover{box-shadow:0 4px 8px rgba(0,0,0,.15);transform:translate(-50%,-50%) scale(1.1)}.Slider_sliderRoot__h9oha[data-dragging=true] .Slider_sliderThumb__cUXFL,.Slider_sliderThumb__cUXFL:active{cursor:grabbing;transform:translate(-50%,-50%) scale(1.15);transition:none}.Slider_sliderRoot__h9oha[data-disabled=true]{opacity:.5;pointer-events:none}";
|
|
4
4
|
var S = {"sliderRoot":"Slider_sliderRoot__h9oha","sliderTrack":"Slider_sliderTrack__ZJT87","sliderRange":"Slider_sliderRange__W4bae","sliderThumbContainer":"Slider_sliderThumbContainer__foas-","sliderThumb":"Slider_sliderThumb__cUXFL"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.SupplyChainMap_root__3fNZf{background:radial-gradient(120% 100% at 50% 0,#fff 0,var(--card) 58%,#eceff0 100%);border:1px solid var(--border);border-radius:var(--radius-card);color:var(--card-foreground);display:flex;flex-direction:column;height:clamp(440px,54vh,720px);overflow:hidden;position:relative}.dark .SupplyChainMap_root__3fNZf{background:radial-gradient(120% 100% at 50% 0,var(--card) 0,var(--background) 58%,#12181c 100%)}.SupplyChainMap_root__3fNZf.SupplyChainMap_fill__71jPd{flex:1;height:auto;min-height:0}.SupplyChainMap_canvas__NwwiX{cursor:grab;flex:1;min-height:320px;position:relative;touch-action:none}.SupplyChainMap_canvas__NwwiX:active{cursor:grabbing}.SupplyChainMap_baseCanvas__wb-Tc{height:100%;inset:0;position:absolute;width:100%}.SupplyChainMap_overlay__NplP-{inset:0;pointer-events:none;position:absolute;z-index:3}.SupplyChainMap_overlay__NplP->*{position:absolute;transform:translate(-50%,-50%)}.SupplyChainMap_marker__FUN03{height:12px;pointer-events:none;width:12px}.SupplyChainMap_marker__FUN03.SupplyChainMap_cluster__Hi9Ku{height:22px;width:22px}.SupplyChainMap_marker__FUN03.SupplyChainMap_dimmed__1fN1T{opacity:.28}.SupplyChainMap_node__2APtm{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1.5px solid #fff;border-radius:50%;box-shadow:0 0 0 2px hsla(0,0%,100%,.35);color:#fff;cursor:pointer;display:flex;font-size:10px;font-weight:600;height:12px;justify-content:center;line-height:1;padding:0;pointer-events:auto;transition:box-shadow .12s ease,transform .12s ease,border-color .12s ease;width:12px}.dark .SupplyChainMap_node__2APtm{border-color:#1a2226;box-shadow:0 0 0 2px rgba(26,34,38,.45);color:#0f1416}.SupplyChainMap_node__2APtm.SupplyChainMap_cluster__Hi9Ku{height:22px;width:22px}.SupplyChainMap_marker__FUN03.SupplyChainMap_selected__F0XHC .SupplyChainMap_node__2APtm,.SupplyChainMap_node__2APtm.SupplyChainMap_selected__F0XHC{border-color:#242829;box-shadow:0 0 0 2.5px rgba(36,40,41,.28)}.dark .SupplyChainMap_marker__FUN03.SupplyChainMap_selected__F0XHC .SupplyChainMap_node__2APtm,.dark .SupplyChainMap_node__2APtm.SupplyChainMap_selected__F0XHC{border-color:#e8eef0;box-shadow:0 0 0 2.5px rgba(232,238,240,.35)}.SupplyChainMap_marker__FUN03:focus-within .SupplyChainMap_node__2APtm,.SupplyChainMap_marker__FUN03:hover .SupplyChainMap_node__2APtm{box-shadow:0 0 0 3px rgba(15,158,192,.38);transform:scale(1.18)}.SupplyChainMap_label__A1XvY{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:color-mix(in srgb,var(--card) 92%,transparent);border:1px solid var(--border);border-radius:6px;color:var(--card-foreground);cursor:pointer;font-family:inherit;font-size:11px;left:calc(100% + 6px);line-height:1.2;padding:2px 6px;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);transition:border-color .12s ease,box-shadow .12s ease,background .12s ease;white-space:nowrap}.SupplyChainMap_label__A1XvY:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.SupplyChainMap_root__3fNZf{background:radial-gradient(120% 100% at 50% 0,#fff 0,var(--card) 58%,#eceff0 100%);border:1px solid var(--border);border-radius:var(--radius-card);color:var(--card-foreground);display:flex;flex-direction:column;height:clamp(440px,54vh,720px);overflow:hidden;position:relative}.dark .SupplyChainMap_root__3fNZf{background:radial-gradient(120% 100% at 50% 0,var(--card) 0,var(--background) 58%,#12181c 100%)}.SupplyChainMap_root__3fNZf.SupplyChainMap_fill__71jPd{flex:1;height:auto;min-height:0}.SupplyChainMap_canvas__NwwiX{cursor:grab;flex:1;min-height:320px;position:relative;touch-action:none}.SupplyChainMap_canvas__NwwiX:active{cursor:grabbing}.SupplyChainMap_baseCanvas__wb-Tc{height:100%;inset:0;position:absolute;width:100%}.SupplyChainMap_overlay__NplP-{inset:0;pointer-events:none;position:absolute;z-index:3}.SupplyChainMap_overlay__NplP->*{position:absolute;transform:translate(-50%,-50%)}.SupplyChainMap_marker__FUN03{height:12px;pointer-events:none;width:12px}.SupplyChainMap_marker__FUN03.SupplyChainMap_cluster__Hi9Ku{height:22px;width:22px}.SupplyChainMap_marker__FUN03.SupplyChainMap_dimmed__1fN1T{opacity:.28}.SupplyChainMap_node__2APtm{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1.5px solid #fff;border-radius:50%;box-shadow:0 0 0 2px hsla(0,0%,100%,.35);color:#fff;cursor:pointer;display:flex;font-size:10px;font-weight:600;height:12px;justify-content:center;line-height:1;padding:0;pointer-events:auto;transition:box-shadow .12s ease,transform .12s ease,border-color .12s ease;width:12px}.dark .SupplyChainMap_node__2APtm{border-color:#1a2226;box-shadow:0 0 0 2px rgba(26,34,38,.45);color:#0f1416}.SupplyChainMap_node__2APtm.SupplyChainMap_cluster__Hi9Ku{height:22px;width:22px}.SupplyChainMap_marker__FUN03.SupplyChainMap_selected__F0XHC .SupplyChainMap_node__2APtm,.SupplyChainMap_node__2APtm.SupplyChainMap_selected__F0XHC{border-color:#242829;box-shadow:0 0 0 2.5px rgba(36,40,41,.28)}.dark .SupplyChainMap_marker__FUN03.SupplyChainMap_selected__F0XHC .SupplyChainMap_node__2APtm,.dark .SupplyChainMap_node__2APtm.SupplyChainMap_selected__F0XHC{border-color:#e8eef0;box-shadow:0 0 0 2.5px rgba(232,238,240,.35)}.SupplyChainMap_marker__FUN03:focus-within .SupplyChainMap_node__2APtm,.SupplyChainMap_marker__FUN03:hover .SupplyChainMap_node__2APtm{box-shadow:0 0 0 3px rgba(15,158,192,.38);transform:scale(1.18)}.SupplyChainMap_label__A1XvY{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:color-mix(in srgb,var(--card) 92%,transparent);border:1px solid var(--border);border-radius:6px;color:var(--card-foreground);cursor:pointer;font-family:inherit;font-size:11px;left:calc(100% + 6px);line-height:1.2;padding:2px 6px;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);transition:border-color .12s ease,box-shadow .12s ease,background .12s ease;white-space:nowrap}.SupplyChainMap_label__A1XvY:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.SupplyChainMap_label__A1XvY.SupplyChainMap_primary__uMmGO{font-weight:600}.SupplyChainMap_label__A1XvY:focus-visible,.SupplyChainMap_label__A1XvY:hover,.SupplyChainMap_marker__FUN03:focus-within .SupplyChainMap_label__A1XvY,.SupplyChainMap_marker__FUN03:hover .SupplyChainMap_label__A1XvY{background:var(--card);border-color:#0f9ec0;box-shadow:0 1px 4px rgba(36,40,41,.12)}.dark .SupplyChainMap_label__A1XvY:focus-visible,.dark .SupplyChainMap_label__A1XvY:hover,.dark .SupplyChainMap_marker__FUN03:focus-within .SupplyChainMap_label__A1XvY,.dark .SupplyChainMap_marker__FUN03:hover .SupplyChainMap_label__A1XvY{border-color:#2ec4e0;box-shadow:0 1px 4px rgba(0,0,0,.45)}.SupplyChainMap_empty__fywCQ{align-items:center;color:#54646a;color:var(--muted-foreground,#54646a);display:flex;justify-content:center;min-height:320px;padding:24px;text-align:center}.SupplyChainMap_disclosure__hwl6H{align-items:center;background:color-mix(in srgb,var(--card) 88%,transparent);border:1px solid var(--border);border-radius:8px;bottom:12px;color:var(--card-foreground);display:flex;flex-wrap:wrap;font-size:12px;gap:8px;left:12px;padding:8px 10px;position:absolute;right:12px;z-index:4}.dark .SupplyChainMap_disclosure__hwl6H{background:color-mix(in srgb,var(--background) 72%,transparent);box-shadow:0 1px 8px rgba(0,0,0,.35)}.SupplyChainMap_action__YPEe-{background:var(--card);border:1px solid var(--border);border-radius:6px;color:inherit;cursor:pointer;padding:4px 8px}.dark .SupplyChainMap_action__YPEe-{background:var(--secondary,var(--card))}.SupplyChainMap_zoom__dGXos{display:flex;gap:4px;margin-left:auto}.SupplyChainMap_inspection__e5QFj{background:color-mix(in srgb,var(--card) 92%,transparent);border:1px solid var(--border);border-radius:8px;color:var(--card-foreground);left:12px;margin:0;padding:10px 12px;position:absolute;right:12px;top:12px;z-index:2}.dark .SupplyChainMap_inspection__e5QFj{background:color-mix(in srgb,var(--background) 78%,transparent)}.SupplyChainMap_kicker__uO2WP{color:#54646a;color:var(--muted-foreground,#54646a);font-size:11px;letter-spacing:.04em;text-transform:uppercase}.SupplyChainMap_hint__NXDuY{color:#54646a;color:var(--muted-foreground,#54646a);font-size:12px;left:12px;margin:0;position:absolute;right:12px;top:12px;z-index:2}@media (max-width:420px){.SupplyChainMap_disclosure__hwl6H{align-items:stretch;flex-direction:column}.SupplyChainMap_zoom__dGXos{justify-content:center;margin-left:0}}";
|
|
4
4
|
var S = {"root":"SupplyChainMap_root__3fNZf","fill":"SupplyChainMap_fill__71jPd","canvas":"SupplyChainMap_canvas__NwwiX","baseCanvas":"SupplyChainMap_baseCanvas__wb-Tc","overlay":"SupplyChainMap_overlay__NplP-","marker":"SupplyChainMap_marker__FUN03","cluster":"SupplyChainMap_cluster__Hi9Ku","dimmed":"SupplyChainMap_dimmed__1fN1T","node":"SupplyChainMap_node__2APtm","selected":"SupplyChainMap_selected__F0XHC","label":"SupplyChainMap_label__A1XvY","primary":"SupplyChainMap_primary__uMmGO","empty":"SupplyChainMap_empty__fywCQ","disclosure":"SupplyChainMap_disclosure__hwl6H","action":"SupplyChainMap_action__YPEe-","zoom":"SupplyChainMap_zoom__dGXos","inspection":"SupplyChainMap_inspection__e5QFj","kicker":"SupplyChainMap_kicker__uO2WP","hint":"SupplyChainMap_hint__NXDuY"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -43,10 +43,10 @@ function useMapBaseRenderer(canvasRef, command, onHitLanes, enabled = true) {
|
|
|
43
43
|
}
|
|
44
44
|
let worker;
|
|
45
45
|
try {
|
|
46
|
-
// Bundlers (
|
|
46
|
+
// Bundlers (Vite docs, webpack, Next) resolve this worker entry.
|
|
47
47
|
// Published Rollup output may keep a .ts URL — paint then falls back
|
|
48
48
|
// to the main-thread path below.
|
|
49
|
-
worker = new Worker(new URL('./SupplyChainMap.render.worker.ts', import.meta.url));
|
|
49
|
+
worker = new Worker(new URL('./SupplyChainMap.render.worker.ts', import.meta.url), { type: 'module' });
|
|
50
50
|
}
|
|
51
51
|
catch {
|
|
52
52
|
forceMainRef.current = true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Switch_switchRoot__IDe2j{background-color:var(--input);border:none;border-radius:9999px;cursor:pointer;display:inline-flex;flex-shrink:0;outline:none;padding:3px;position:relative;transition:background-color .15s ease-in-out}.Switch_switchRoot__IDe2j:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Switch_switchRoot__IDe2j{background-color:var(--input);border:none;border-radius:9999px;cursor:pointer;display:inline-flex;flex-shrink:0;outline:none;padding:3px;position:relative;transition:background-color .15s ease-in-out}.Switch_switchRoot__IDe2j:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.Switch_switchRoot__IDe2j[data-state=checked]{background-color:var(--primary)}.Switch_switchRoot__IDe2j:disabled{cursor:not-allowed;opacity:.5}.Switch_switchThumb__HVWdE{background-color:var(--card);border-radius:9999px;box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(16,24,40,.1);display:block;transition:transform .15s ease-in-out;will-change:transform}.Switch_size-sm__wdTd-{height:20px;width:36px}.Switch_size-sm__wdTd- .Switch_switchThumb__HVWdE{height:14px;width:14px}.Switch_size-sm__wdTd-[data-state=checked] .Switch_switchThumb__HVWdE{transform:translateX(16px)}.Switch_size-md__tJKDv{height:24px;width:44px}.Switch_size-md__tJKDv .Switch_switchThumb__HVWdE{height:18px;width:18px}.Switch_size-md__tJKDv[data-state=checked] .Switch_switchThumb__HVWdE{transform:translateX(20px)}.Switch_size-lg__syBsv{height:28px;width:52px}.Switch_size-lg__syBsv .Switch_switchThumb__HVWdE{height:22px;width:22px}.Switch_size-lg__syBsv[data-state=checked] .Switch_switchThumb__HVWdE{transform:translateX(24px)}";
|
|
4
4
|
var S = {"switchRoot":"Switch_switchRoot__IDe2j","switchThumb":"Switch_switchThumb__HVWdE","size-sm":"Switch_size-sm__wdTd-","size-md":"Switch_size-md__tJKDv","size-lg":"Switch_size-lg__syBsv"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Tabs_root__cB9Au{display:flex;flex-direction:column;gap:.5rem}.Tabs_list__9Hs22{align-items:center;color:var(--muted-foreground);display:inline-flex;height:48px;justify-content:center;width:-moz-fit-content;width:fit-content}.Tabs_list__9Hs22.Tabs_fullWidth__Lj2Dd{width:100%}.Tabs_variant-link__xOMDg>.Tabs_list__9Hs22{background-color:transparent!important}.Tabs_variant-button__wtc8k .Tabs_list__9Hs22,.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22{border-radius:1.5rem;box-shadow:none;gap:.25rem;height:auto}.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22{background-color:transparent!important;gap:var(--p-2)}.Tabs_trigger__uzdqH{align-items:center;border:1px solid transparent;border-radius:.375rem;color:var(--muted-foreground);cursor:pointer;display:inline-flex;flex:1;font-size:var(--text-sm);font-weight:500;gap:.375rem;height:calc(100% - 1px);justify-content:center;padding:.25rem .5rem;transition:color .2s,box-shadow .2s;white-space:nowrap}.Tabs_trigger__uzdqH:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Tabs_root__cB9Au{display:flex;flex-direction:column;gap:.5rem}.Tabs_list__9Hs22{align-items:center;color:var(--muted-foreground);display:inline-flex;height:48px;justify-content:center;width:-moz-fit-content;width:fit-content}.Tabs_list__9Hs22.Tabs_fullWidth__Lj2Dd{width:100%}.Tabs_variant-link__xOMDg>.Tabs_list__9Hs22{background-color:transparent!important}.Tabs_variant-button__wtc8k .Tabs_list__9Hs22,.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22{border-radius:1.5rem;box-shadow:none;gap:.25rem;height:auto}.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22{background-color:transparent!important;gap:var(--p-2)}.Tabs_trigger__uzdqH{align-items:center;border:1px solid transparent;border-radius:.375rem;color:var(--muted-foreground);cursor:pointer;display:inline-flex;flex:1;font-size:var(--text-sm);font-weight:500;gap:.375rem;height:calc(100% - 1px);justify-content:center;padding:.25rem .5rem;transition:color .2s,box-shadow .2s;white-space:nowrap}.Tabs_trigger__uzdqH:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.Tabs_trigger__uzdqH:disabled{opacity:.5;pointer-events:none}.Tabs_trigger__uzdqH[data-state=active]{background-color:var(--background);box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.Tabs_trigger__uzdqH:hover,.Tabs_trigger__uzdqH[data-state=active]{color:var(--foreground)!important}.Tabs_darker__l-R0I .Tabs_trigger__uzdqH{background-color:var(--muted)}.Tabs_variant-button__wtc8k .Tabs_list__9Hs22 .Tabs_trigger__uzdqH{border:none;border-radius:var(--p-4);box-shadow:none;color:var(--muted-foreground);flex-shrink:0;font-weight:600;padding:var(--p-1) var(--p-3);transition:all .15s ease-in-out}.Tabs_variant-button__wtc8k .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{border-radius:var(--p-6);box-shadow:0 1px 2px 0 rgba(0,0,0,.05);color:var(--foreground)}.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22 .Tabs_trigger__uzdqH{background-color:var(--background);border-radius:var(--p-6);color:var(--muted-foreground);flex-shrink:0;font-weight:500;padding:var(--p-1) var(--p-4);transition:box-shadow .15s ease-in-out,color .15s ease-in-out}.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22 .Tabs_trigger__uzdqH:hover{color:var(--foreground)}.Tabs_variant-outline__2CJJg .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{background-color:var(--background);box-shadow:inset 0 0 0 1px var(--selected-tab-outline-color,var(--brand-color-400));color:var(--foreground)}.Tabs_variant-link__xOMDg>.Tabs_list__9Hs22 .Tabs_trigger__uzdqH{background-color:transparent!important;border:0!important;border-radius:0!important;box-shadow:inset 0 -2px 0 0 var(--border)!important;font-size:16px;padding:12px 16px}.Tabs_variant-link__xOMDg>.Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{box-shadow:inset 0 -3px 0 -1px var(--selected-tab-outline-color,var(--brand-color-400))!important}.Tabs_trigger__uzdqH svg{flex-shrink:0;pointer-events:none}.Tabs_trigger__uzdqH svg:not([class*=size-]){height:1rem;width:1rem}.dark .Tabs_trigger__uzdqH{color:var(--muted-foreground)}.dark .Tabs_trigger__uzdqH[data-state=active]{background-color:var(--input-30);border-color:var(--input);color:var(--foreground)}.dark .Tabs_variant-outline__2CJJg .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{background-color:var(--background);box-shadow:inset 0 0 0 1px var(--selected-tab-outline-color,var(--brand-color-400));color:var(--foreground)}.Tabs_content__K27Vl{flex:1;outline:none}.Tabs_content__K27Vl[hidden]{display:none!important}.Tabs_root__cB9Au.Tabs_variant-button__wtc8k.Tabs_sizeSm__gfpc6 .Tabs_list__9Hs22 .Tabs_trigger__uzdqH{font-size:var(--text-xs);padding:var(--p-1) var(--p-2)}.Tabs_root__cB9Au.Tabs_variant-button__wtc8k.Tabs_sizeSm__gfpc6 .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{border-radius:var(--p-4)}.Tabs_root__cB9Au.Tabs_variant-button__wtc8k.Tabs_sizeLg__CcRFZ .Tabs_list__9Hs22 .Tabs_trigger__uzdqH{font-size:var(--text-base);padding:var(--p-2) var(--p-4)}.Tabs_root__cB9Au.Tabs_variant-button__wtc8k.Tabs_sizeLg__CcRFZ .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{border-radius:var(--p-8)}.Tabs_root__cB9Au.Tabs_variant-outline__2CJJg.Tabs_sizeSm__gfpc6 .Tabs_list__9Hs22 .Tabs_trigger__uzdqH{border-radius:var(--p-4);font-size:var(--text-xs);padding:var(--p-1) var(--p-3)}.Tabs_root__cB9Au.Tabs_variant-outline__2CJJg.Tabs_sizeSm__gfpc6 .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{border-radius:var(--p-4)}.Tabs_root__cB9Au.Tabs_variant-outline__2CJJg.Tabs_sizeLg__CcRFZ .Tabs_list__9Hs22 .Tabs_trigger__uzdqH{border-radius:var(--p-8);font-size:var(--text-base);padding:var(--p-2) var(--p-5)}.Tabs_root__cB9Au.Tabs_variant-outline__2CJJg.Tabs_sizeLg__CcRFZ .Tabs_list__9Hs22 .Tabs_trigger__uzdqH[data-state=active]{border-radius:var(--p-8)}.Tabs_root__cB9Au.Tabs_variant-link__xOMDg.Tabs_sizeSm__gfpc6>.Tabs_list__9Hs22{height:auto;min-height:36px}.Tabs_root__cB9Au.Tabs_variant-link__xOMDg.Tabs_sizeSm__gfpc6>.Tabs_list__9Hs22 .Tabs_trigger__uzdqH{font-size:14px;padding:8px 12px}.Tabs_root__cB9Au.Tabs_variant-link__xOMDg.Tabs_sizeLg__CcRFZ>.Tabs_list__9Hs22{height:auto;min-height:56px}.Tabs_root__cB9Au.Tabs_variant-link__xOMDg.Tabs_sizeLg__CcRFZ>.Tabs_list__9Hs22 .Tabs_trigger__uzdqH{font-size:18px;padding:16px 24px}";
|
|
4
4
|
var S = {"root":"Tabs_root__cB9Au","list":"Tabs_list__9Hs22","fullWidth":"Tabs_fullWidth__Lj2Dd","variant-link":"Tabs_variant-link__xOMDg","variant-button":"Tabs_variant-button__wtc8k","variant-outline":"Tabs_variant-outline__2CJJg","trigger":"Tabs_trigger__uzdqH","darker":"Tabs_darker__l-R0I","content":"Tabs_content__K27Vl","sizeSm":"Tabs_sizeSm__gfpc6","sizeLg":"Tabs_sizeLg__CcRFZ"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Toggle_toggle__zrQdU{align-items:center;background-color:transparent;color:var(--muted-foreground);cursor:pointer;display:inline-flex;font-size:var(--text-sm);font-weight:600;gap:.5rem;justify-content:center;transition:all .15s ease-in-out;white-space:nowrap}.Toggle_toggle__zrQdU:hover{background-color:var(--muted-80);color:var(--muted-foreground)}.Toggle_toggle__zrQdU:disabled{opacity:.5;pointer-events:none}.Toggle_toggle__zrQdU[data-state=on]{background-color:var(--background);box-shadow:0 1px 2px 0 rgba(0,0,0,.05);color:var(--foreground)}.Toggle_toggle__zrQdU svg{flex-shrink:0;pointer-events:none}.Toggle_toggle__zrQdU svg:not([class*=size-]){height:1rem;width:1rem}.Toggle_toggle__zrQdU:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.Toggle_toggle__zrQdU{align-items:center;background-color:transparent;color:var(--muted-foreground);cursor:pointer;display:inline-flex;font-size:var(--text-sm);font-weight:600;gap:.5rem;justify-content:center;transition:all .15s ease-in-out;white-space:nowrap}.Toggle_toggle__zrQdU:hover{background-color:var(--muted-80);color:var(--muted-foreground)}.Toggle_toggle__zrQdU:disabled{opacity:.5;pointer-events:none}.Toggle_toggle__zrQdU[data-state=on]{background-color:var(--background);box-shadow:0 1px 2px 0 rgba(0,0,0,.05);color:var(--foreground)}.Toggle_toggle__zrQdU svg{flex-shrink:0;pointer-events:none}.Toggle_toggle__zrQdU svg:not([class*=size-]){height:1rem;width:1rem}.Toggle_toggle__zrQdU:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.Toggle_toggle__zrQdU[aria-invalid=true]{border-color:var(--destructive);box-shadow:0 0 0 3px var(--destructive-20)}.dark .Toggle_toggle__zrQdU[aria-invalid=true]{box-shadow:0 0 0 3px var(--destructive-40)}.Toggle_variant-default__n4-yB{border-radius:.375rem}.Toggle_variant-outline__J4zWJ{background-color:transparent;border:none}.Toggle_variant-outline__J4zWJ:hover{color:var(--foreground)}.Toggle_variant-outline__J4zWJ[data-state=on]{background-color:var(--background);color:var(--foreground)}.Toggle_size-md__llTAJ,.Toggle_size-sm__hODTn{border-radius:.375rem;height:1.75rem;padding-left:.75rem;padding-right:.75rem}.Toggle_size-lg__Y6-g6{border-radius:.5rem;height:2rem;padding-left:.875rem;padding-right:.875rem}";
|
|
4
4
|
var S = {"toggle":"Toggle_toggle__zrQdU","variant-default":"Toggle_variant-default__n4-yB","variant-outline":"Toggle_variant-outline__J4zWJ","size-sm":"Toggle_size-sm__hODTn","size-md":"Toggle_size-md__llTAJ","size-lg":"Toggle_size-lg__Y6-g6"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.ToggleGroup_container__HKgJE{align-items:center;border-radius:var(--p-6);display:flex;font-weight:600;gap:var(--p-1);transition:opacity .1s ease-out;width:-moz-fit-content;width:fit-content}.ToggleGroup_container__HKgJE[data-disabled]{opacity:.5;pointer-events:none}.ToggleGroup_item__Jz9yW{border:none;border-radius:var(--p-4);box-shadow:none;color:var(--muted-foreground);flex-shrink:0;transition:all .15s ease-in-out}.ToggleGroup_item__Jz9yW:focus{z-index:10}.ToggleGroup_item__Jz9yW:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.ToggleGroup_container__HKgJE{align-items:center;border-radius:var(--p-6);display:flex;font-weight:600;gap:var(--p-1);transition:opacity .1s ease-out;width:-moz-fit-content;width:fit-content}.ToggleGroup_container__HKgJE[data-disabled]{opacity:.5;pointer-events:none}.ToggleGroup_item__Jz9yW{border:none;border-radius:var(--p-4);box-shadow:none;color:var(--muted-foreground);flex-shrink:0;transition:all .15s ease-in-out}.ToggleGroup_item__Jz9yW:focus{z-index:10}.ToggleGroup_item__Jz9yW:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.ToggleGroup_item__Jz9yW:focus-visible{z-index:10}.ToggleGroup_item__Jz9yW[data-state=on]{border-radius:var(--p-6);color:var(--foreground)}.ToggleGroup_item__Jz9yW[data-disabled]{opacity:.5;pointer-events:none}";
|
|
4
4
|
var S = {"container":"ToggleGroup_container__HKgJE","item":"ToggleGroup_item__Jz9yW"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.WorkspaceAppSwitcher_trigger__s6qYT{align-items:center;background:transparent;border:none;border-radius:12px;color:inherit;cursor:pointer;display:flex;font:inherit;gap:var(--p-2);height:auto;margin-left:var(--p-3)!important;max-width:320px;padding:var(--p-1)!important;padding-right:var(--p-3)!important;text-align:left}.WorkspaceAppSwitcher_trigger__s6qYT:hover{background-color:var(--muted)}@media (max-width:768px){.WorkspaceAppSwitcher_trigger__s6qYT{gap:0;margin-left:0!important;max-width:none;padding-right:var(--p-1)!important}.WorkspaceAppSwitcher_trigger__s6qYT .WorkspaceAppSwitcher_chevron__7kAqO,.WorkspaceAppSwitcher_trigger__s6qYT .WorkspaceAppSwitcher_textCol__K1gfI{display:none}}.WorkspaceAppSwitcher_iconTile__tVDr8{align-items:center;border-radius:10px;color:var(--fg-color);display:flex;flex-shrink:0;height:40px;justify-content:center;position:relative;width:40px}.WorkspaceAppSwitcher_iconTile__tVDr8:after,.WorkspaceAppSwitcher_iconTile__tVDr8:before{border-radius:inherit;content:\"\";display:block;height:100%;position:absolute;width:100%}.WorkspaceAppSwitcher_iconTile__tVDr8:before{background-color:var(--background)}.WorkspaceAppSwitcher_iconTile__tVDr8:after{background-color:var(--bg-color)}.WorkspaceAppSwitcher_icon__Jgw14{align-items:center;display:flex;justify-content:center;z-index:1}.WorkspaceAppSwitcher_icon__Jgw14,.WorkspaceAppSwitcher_icon__Jgw14 svg{color:var(--fg-color)!important;height:22px!important;width:22px!important}.WorkspaceAppSwitcher_textCol__K1gfI{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.WorkspaceAppSwitcher_name__ewMYP{color:var(--foreground);font-size:var(--text-sm);font-weight:600}.WorkspaceAppSwitcher_name__ewMYP,.WorkspaceAppSwitcher_sub__b7w1p{line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.WorkspaceAppSwitcher_sub__b7w1p{color:var(--muted-foreground);font-size:var(--text-xs)}.WorkspaceAppSwitcher_sub__b7w1p.WorkspaceAppSwitcher_subExperimental__-zHVr{color:var(--sb-red-400);opacity:.8}.dark .WorkspaceAppSwitcher_sub__b7w1p.WorkspaceAppSwitcher_subExperimental__-zHVr{color:var(--sb-red-400)}.WorkspaceAppSwitcher_menuContent__4-UNY{max-width:360px;min-width:280px}.WorkspaceAppSwitcher_item__nnufY{align-items:center;cursor:pointer;display:flex;gap:var(--p-3);outline:none;padding:var(--p-3)}.WorkspaceAppSwitcher_item__nnufY:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.WorkspaceAppSwitcher_trigger__s6qYT{align-items:center;background:transparent;border:none;border-radius:12px;color:inherit;cursor:pointer;display:flex;font:inherit;gap:var(--p-2);height:auto;margin-left:var(--p-3)!important;max-width:320px;padding:var(--p-1)!important;padding-right:var(--p-3)!important;text-align:left}.WorkspaceAppSwitcher_trigger__s6qYT:hover{background-color:var(--muted)}@media (max-width:768px){.WorkspaceAppSwitcher_trigger__s6qYT{gap:0;margin-left:0!important;max-width:none;padding-right:var(--p-1)!important}.WorkspaceAppSwitcher_trigger__s6qYT .WorkspaceAppSwitcher_chevron__7kAqO,.WorkspaceAppSwitcher_trigger__s6qYT .WorkspaceAppSwitcher_textCol__K1gfI{display:none}}.WorkspaceAppSwitcher_iconTile__tVDr8{align-items:center;border-radius:10px;color:var(--fg-color);display:flex;flex-shrink:0;height:40px;justify-content:center;position:relative;width:40px}.WorkspaceAppSwitcher_iconTile__tVDr8:after,.WorkspaceAppSwitcher_iconTile__tVDr8:before{border-radius:inherit;content:\"\";display:block;height:100%;position:absolute;width:100%}.WorkspaceAppSwitcher_iconTile__tVDr8:before{background-color:var(--background)}.WorkspaceAppSwitcher_iconTile__tVDr8:after{background-color:var(--bg-color)}.WorkspaceAppSwitcher_icon__Jgw14{align-items:center;display:flex;justify-content:center;z-index:1}.WorkspaceAppSwitcher_icon__Jgw14,.WorkspaceAppSwitcher_icon__Jgw14 svg{color:var(--fg-color)!important;height:22px!important;width:22px!important}.WorkspaceAppSwitcher_textCol__K1gfI{display:flex;flex:1;flex-direction:column;gap:2px;min-width:0}.WorkspaceAppSwitcher_name__ewMYP{color:var(--foreground);font-size:var(--text-sm);font-weight:600}.WorkspaceAppSwitcher_name__ewMYP,.WorkspaceAppSwitcher_sub__b7w1p{line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.WorkspaceAppSwitcher_sub__b7w1p{color:var(--muted-foreground);font-size:var(--text-xs)}.WorkspaceAppSwitcher_sub__b7w1p.WorkspaceAppSwitcher_subExperimental__-zHVr{color:var(--sb-red-400);opacity:.8}.dark .WorkspaceAppSwitcher_sub__b7w1p.WorkspaceAppSwitcher_subExperimental__-zHVr{color:var(--sb-red-400)}.WorkspaceAppSwitcher_menuContent__4-UNY{max-width:360px;min-width:280px}.WorkspaceAppSwitcher_item__nnufY{align-items:center;cursor:pointer;display:flex;gap:var(--p-3);outline:none;padding:var(--p-3)}.WorkspaceAppSwitcher_item__nnufY:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.WorkspaceAppSwitcher_itemActive__3mPlO{background-color:var(--muted)}";
|
|
4
4
|
var S = {"trigger":"WorkspaceAppSwitcher_trigger__s6qYT","textCol":"WorkspaceAppSwitcher_textCol__K1gfI","chevron":"WorkspaceAppSwitcher_chevron__7kAqO","iconTile":"WorkspaceAppSwitcher_iconTile__tVDr8","icon":"WorkspaceAppSwitcher_icon__Jgw14","name":"WorkspaceAppSwitcher_name__ewMYP","sub":"WorkspaceAppSwitcher_sub__b7w1p","subExperimental":"WorkspaceAppSwitcher_subExperimental__-zHVr","menuContent":"WorkspaceAppSwitcher_menuContent__4-UNY","item":"WorkspaceAppSwitcher_item__nnufY","itemActive":"WorkspaceAppSwitcher_itemActive__3mPlO"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from 'style-inject';
|
|
2
2
|
|
|
3
|
-
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.DriverIcon_root__LJkZV{cursor:pointer;outline:none;position:absolute;transform:translateX(-50%) translateY(-50%)}.DriverIcon_root__LJkZV:focus-visible:not(:disabled):not([
|
|
3
|
+
var css_248z = "@media (max-width:768px){:root{--page-x-padding:var(--p-6);--page-y-padding:var(--p-6)}}.DriverIcon_root__LJkZV{cursor:pointer;outline:none;position:absolute;transform:translateX(-50%) translateY(-50%)}.DriverIcon_root__LJkZV:focus-visible:not(:disabled):not([data-disabled]){outline:2px solid var(--focus-outline-color,var(--ring));outline:var(--focus-outline-width,2px) solid var(--focus-outline-color,var(--ring));outline-offset:2px;outline-offset:var(--focus-outline-offset,2px)}.DriverIcon_root__LJkZV:hover{transition:transform .3s ease-out}.DriverIcon_badge__gV6XC,.DriverIcon_loadingHidden__fm2N0{opacity:0;pointer-events:none}.DriverIcon_badge__gV6XC{justify-content:center;padding:.25rem;transform:translateY(10px);transition:all .3s ease-out}.DriverIcon_badge__gV6XC svg{height:20px;width:20px}.DriverIcon_size-s__5oC0V,.DriverIcon_size-s__5oC0V .DriverIcon_badge__gV6XC{border-radius:10px;height:2rem;width:2rem}.DriverIcon_size-m__HoK4J,.DriverIcon_size-m__HoK4J .DriverIcon_badge__gV6XC{border-radius:12px;height:2.5rem;width:2.5rem}.DriverIcon_size-l__6solM,.DriverIcon_size-l__6solM .DriverIcon_badge__gV6XC{border-radius:14px;height:3rem;width:3rem}.DriverIcon_visible__HVfIl .DriverIcon_badge__gV6XC{opacity:1;transform:translateY(0);transition:.3s ease-out;transition-property:opacity,transform}.DriverIcon_visible__HVfIl .DriverIcon_badge__gV6XC span{transition:box-shadow 0s ease-out .1s}.DriverIcon_root__LJkZV:first-child .DriverIcon_badge__gV6XC{transition-delay:30ms}.DriverIcon_visible__HVfIl:first-child .DriverIcon_badge__gV6XC{transition-delay:60ms}.DriverIcon_hidden__udGUf:first-child .DriverIcon_badge__gV6XC{transition-duration:.27s}.DriverIcon_root__LJkZV:nth-child(2) .DriverIcon_badge__gV6XC{transition-delay:60ms}.DriverIcon_visible__HVfIl:nth-child(2) .DriverIcon_badge__gV6XC{transition-delay:.12s}.DriverIcon_hidden__udGUf:nth-child(2) .DriverIcon_badge__gV6XC{transition-duration:.24s}.DriverIcon_root__LJkZV:nth-child(3) .DriverIcon_badge__gV6XC{transition-delay:90ms}.DriverIcon_visible__HVfIl:nth-child(3) .DriverIcon_badge__gV6XC{transition-delay:.18s}.DriverIcon_hidden__udGUf:nth-child(3) .DriverIcon_badge__gV6XC{transition-duration:.21s}.DriverIcon_root__LJkZV:nth-child(4) .DriverIcon_badge__gV6XC{transition-delay:.12s}.DriverIcon_visible__HVfIl:nth-child(4) .DriverIcon_badge__gV6XC{transition-delay:.24s}.DriverIcon_hidden__udGUf:nth-child(4) .DriverIcon_badge__gV6XC{transition-duration:.18s}.DriverIcon_root__LJkZV:nth-child(5) .DriverIcon_badge__gV6XC{transition-delay:.15s}.DriverIcon_visible__HVfIl:nth-child(5) .DriverIcon_badge__gV6XC{transition-delay:.3s}.DriverIcon_hidden__udGUf:nth-child(5) .DriverIcon_badge__gV6XC{transition-duration:.15s}.DriverIcon_root__LJkZV:nth-child(6) .DriverIcon_badge__gV6XC{transition-delay:.18s}.DriverIcon_visible__HVfIl:nth-child(6) .DriverIcon_badge__gV6XC{transition-delay:.36s}.DriverIcon_hidden__udGUf:nth-child(6) .DriverIcon_badge__gV6XC{transition-duration:.12s}.DriverIcon_root__LJkZV:hover{z-index:10}.DriverIcon_root__LJkZV:hover .DriverIcon_badge__gV6XC{box-shadow:0 0 0 1px var(--background);transform:scale(1.1);transition-delay:0ms;transition-duration:.2s}.DriverIcon_selected__-yaRV .DriverIcon_badge__gV6XC,.DriverIcon_selected__-yaRV:hover .DriverIcon_badge__gV6XC{box-shadow:inset 0 0 0 3px var(--sb-cyan-400);transform:scale(1.1)}.dark .DriverIcon_selected__-yaRV .DriverIcon_badge__gV6XC,.dark .DriverIcon_selected__-yaRV:hover .DriverIcon_badge__gV6XC{box-shadow:inset 0 0 0 2px var(--sb-cyan-500)}.DriverIcon_root__LJkZV:not(.DriverIcon_selected__-yaRV):hover .DriverIcon_icon__1XnNP{transform:scale(1.05)}.DriverIcon_tooltipContent__a5p3p{background-color:var(--popover);border:1px solid var(--border);box-shadow:0 10px 15px -3px rgba(0,0,0,.1);color:var(--popover-foreground);font-family:var(--font-family-body);font-size:.75rem;max-width:20rem}.DriverIcon_tooltipCategory__k036X{align-items:center;color:var(--muted-foreground);display:flex;gap:.25rem}.DriverIcon_tooltipCategoryIcon__CKac6{color:var(--muted-foreground);height:.75rem;width:.75rem}.DriverIcon_tooltipCategoryText__YaHvf{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.DriverIcon_tooltipName__3YJCB{font-weight:400}.DriverIcon_tooltipSpacing__p2MvJ{display:flex;flex-direction:column;gap:.25rem}";
|
|
4
4
|
var S = {"root":"DriverIcon_root__LJkZV","loadingHidden":"DriverIcon_loadingHidden__fm2N0","badge":"DriverIcon_badge__gV6XC","size-s":"DriverIcon_size-s__5oC0V","size-m":"DriverIcon_size-m__HoK4J","size-l":"DriverIcon_size-l__6solM","visible":"DriverIcon_visible__HVfIl","hidden":"DriverIcon_hidden__udGUf","selected":"DriverIcon_selected__-yaRV","icon":"DriverIcon_icon__1XnNP","tooltipContent":"DriverIcon_tooltipContent__a5p3p","tooltipCategory":"DriverIcon_tooltipCategory__k036X","tooltipCategoryIcon":"DriverIcon_tooltipCategoryIcon__CKac6","tooltipCategoryText":"DriverIcon_tooltipCategoryText__YaHvf","tooltipName":"DriverIcon_tooltipName__3YJCB","tooltipSpacing":"DriverIcon_tooltipSpacing__p2MvJ"};
|
|
5
5
|
styleInject(css_248z);
|
|
6
6
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sybilion/uilib",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "Sybilion Design System — React UI components (
|
|
3
|
+
"version": "1.6.1",
|
|
4
|
+
"description": "Sybilion Design System — React UI components (Vite + Stylus)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"tests": "jest",
|
|
75
75
|
"tests:watch": "jest --watch",
|
|
76
76
|
"ts": "tsc --noEmit",
|
|
77
|
-
"dev": "
|
|
77
|
+
"dev": "vite --config ./src/docs/config/vite.config.ts",
|
|
78
78
|
"prebuild": "cp src/components/ui/Logo/logo.svg assets/logo.svg",
|
|
79
79
|
"build:agent-glossary": "node scripts/build-agent-glossary.mjs --all",
|
|
80
80
|
"build": "yarn build:agent-glossary && rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript",
|
|
81
81
|
"build:watch": "yarn build --watch",
|
|
82
82
|
"build:compress": "COMPRESS=true yarn build",
|
|
83
83
|
"publish:npm": "yarn build && npm publish --access public",
|
|
84
|
-
"docs:build": "
|
|
84
|
+
"docs:build": "vite build --config ./src/docs/config/vite.config.ts",
|
|
85
85
|
"release": "standard-version",
|
|
86
86
|
"release:major": "yarn release -- --release-as major",
|
|
87
87
|
"release:minor": "yarn release -- --release-as minor",
|
|
@@ -173,10 +173,8 @@
|
|
|
173
173
|
"devDependencies": {
|
|
174
174
|
"@auth0/auth0-react": "^2.3.1",
|
|
175
175
|
"@babel/core": "^7.20.12",
|
|
176
|
-
"@babel/preset-typescript": "^7.21.0",
|
|
177
176
|
"@homecode/ui": "^4.30.6",
|
|
178
177
|
"@hookform/resolvers": "^5.0.0",
|
|
179
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
180
178
|
"@rollup/plugin-alias": "^6.0.0",
|
|
181
179
|
"@rollup/plugin-commonjs": "^24.0.1",
|
|
182
180
|
"@rollup/plugin-json": "^6.0.0",
|
|
@@ -184,7 +182,6 @@
|
|
|
184
182
|
"@rollup/plugin-typescript": "^11.0.0",
|
|
185
183
|
"@rollup/plugin-url": "^8.0.2",
|
|
186
184
|
"@svgr/rollup": "^6.5.1",
|
|
187
|
-
"@svgr/webpack": "^8.1.0",
|
|
188
185
|
"@sybilion/platform-sdk": "^0.0.4",
|
|
189
186
|
"@testing-library/dom": "^10.4.1",
|
|
190
187
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -197,31 +194,19 @@
|
|
|
197
194
|
"@types/react-dom": "^19.0.0",
|
|
198
195
|
"@types/topojson-client": "^3.1.5",
|
|
199
196
|
"@types/topojson-specification": "^1.0.5",
|
|
200
|
-
"
|
|
201
|
-
"babel-preset-react-app": "^10.0.1",
|
|
202
|
-
"clean-webpack-plugin": "^4.0.0",
|
|
203
|
-
"copy-webpack-plugin": "^11.0.0",
|
|
204
|
-
"css-loader": "^6.7.3",
|
|
205
|
-
"css-modules-typescript-loader": "^4.0.1",
|
|
197
|
+
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
206
198
|
"cssnano": "^6.0.3",
|
|
207
|
-
"dotenv": "^17.4.1",
|
|
208
199
|
"favicons": "^7.1.3",
|
|
209
|
-
"favicons-webpack-plugin": "^6.0.0",
|
|
210
|
-
"file-loader": "^6.2.0",
|
|
211
200
|
"glob": "^10.3.10",
|
|
212
|
-
"html-webpack-plugin": "^5.5.0",
|
|
213
201
|
"identity-obj-proxy": "^3.0.0",
|
|
214
202
|
"jest": "^29.7.0",
|
|
215
203
|
"jest-environment-jsdom": "^29.7.0",
|
|
216
|
-
"mini-css-extract-plugin": "^2.7.2",
|
|
217
|
-
"postcss-loader": "^7.0.2",
|
|
218
204
|
"postcss-preset-env": "^8.0.1",
|
|
219
205
|
"prettier": "^3.6.2",
|
|
220
206
|
"react": "^19.0.0",
|
|
221
207
|
"react-dom": "^19.1.1",
|
|
222
208
|
"react-hook-form": "^7.55.0",
|
|
223
209
|
"react-markdown": "^10.1.0",
|
|
224
|
-
"react-refresh": "^0.17.0",
|
|
225
210
|
"react-router-dom": "^6.28.0",
|
|
226
211
|
"remark-gfm": "^4.0.1",
|
|
227
212
|
"rollup": "^3.17.1",
|
|
@@ -230,16 +215,11 @@
|
|
|
230
215
|
"rollup-plugin-node-externals": "^5.1.2",
|
|
231
216
|
"rollup-plugin-postcss": "^4.0.2",
|
|
232
217
|
"rollup-plugin-uglify": "^6.0.4",
|
|
233
|
-
"style-loader": "^3.3.1",
|
|
234
218
|
"stylus": "^0.59.0",
|
|
235
|
-
"stylus-loader": "^7.1.0",
|
|
236
219
|
"ts-jest": "^29.2.5",
|
|
237
|
-
"ts-node": "^10.9.1",
|
|
238
220
|
"typescript": "^5.3.3",
|
|
239
221
|
"vite": "^6.0.0",
|
|
240
|
-
"
|
|
241
|
-
"webpack-cli": "^5.0.1",
|
|
242
|
-
"webpack-dev-server": "^5.2.3",
|
|
222
|
+
"vite-plugin-svgr": "^4.5.0",
|
|
243
223
|
"zod": "^4.0.0"
|
|
244
224
|
},
|
|
245
225
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
@@ -1,129 +1,143 @@
|
|
|
1
1
|
@import 'lib/theme.styl'
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
border 0
|
|
20
|
-
focus-outline()
|
|
21
|
-
|
|
22
|
-
&:active
|
|
23
|
-
opacity 0.8
|
|
24
|
-
|
|
25
|
-
&:disabled
|
|
26
|
-
pointer-events none
|
|
27
|
-
opacity 0.5
|
|
28
|
-
|
|
29
|
-
&[aria-invalid="true"]
|
|
30
|
-
border-color var(--destructive)
|
|
31
|
-
ring 3px var(--destructive-200)
|
|
32
|
-
|
|
33
|
-
// SVG icon styles
|
|
34
|
-
svg
|
|
35
|
-
pointer-events none
|
|
3
|
+
// Component styles live in a CSS cascade layer, so an app's own unlayered rules
|
|
4
|
+
// win over them without specificity tricks (`[data-slot="button"].x`, !important).
|
|
5
|
+
// The order is declared here too, so `components` sits above base.css's `base`
|
|
6
|
+
// layer even when this stylesheet is the first of the two to load.
|
|
7
|
+
@css {
|
|
8
|
+
@layer base, components;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@layer components
|
|
12
|
+
|
|
13
|
+
// Base button styles
|
|
14
|
+
.root
|
|
15
|
+
display inline-flex
|
|
16
|
+
align-items center
|
|
17
|
+
justify-content center
|
|
18
|
+
gap var(--p-2)
|
|
36
19
|
flex-shrink 0
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
20
|
+
white-space nowrap
|
|
21
|
+
border-radius var(--radius-button)
|
|
22
|
+
font-family var(--font-family-body, 'Manrope', sans-serif)
|
|
23
|
+
font-size 15px
|
|
24
|
+
font-weight 500
|
|
25
|
+
line-height 1
|
|
26
|
+
outline none
|
|
27
|
+
cursor pointer
|
|
28
|
+
transition all var(--dur-base) var(--ease-standard)
|
|
29
|
+
border 0
|
|
30
|
+
focus-outline()
|
|
31
|
+
|
|
32
|
+
&:active:where(:not(:disabled))
|
|
33
|
+
opacity 0.8
|
|
34
|
+
|
|
35
|
+
// Not pointer-events none: a disabled button must still receive hover so its
|
|
36
|
+
// `title` can say why. Hover and active styles are guarded instead, inside
|
|
37
|
+
// :where() so the guard adds no specificity (an app override that beat
|
|
38
|
+
// `.root:hover` must keep beating it).
|
|
39
|
+
&:disabled
|
|
40
|
+
cursor not-allowed
|
|
41
|
+
opacity 0.5
|
|
42
|
+
|
|
43
|
+
&[aria-invalid="true"]
|
|
44
|
+
border-color var(--destructive)
|
|
45
|
+
ring 3px var(--destructive-200)
|
|
46
|
+
|
|
47
|
+
// SVG icon styles
|
|
48
|
+
svg
|
|
49
|
+
pointer-events none
|
|
50
|
+
flex-shrink 0
|
|
51
|
+
// width 16px
|
|
52
|
+
// height 16px
|
|
53
|
+
|
|
54
|
+
// Variant styles
|
|
55
|
+
.default
|
|
56
|
+
background-color var(--primary)
|
|
57
|
+
color var(--primary-foreground)
|
|
58
|
+
|
|
59
|
+
&:hover:where(:not(:disabled))
|
|
60
|
+
background-color var(--sb-gray-800)
|
|
50
61
|
|
|
51
|
-
.
|
|
52
|
-
|
|
53
|
-
color white
|
|
62
|
+
:global(.dark) &
|
|
63
|
+
background-color var(--sb-gray-600)
|
|
54
64
|
|
|
55
|
-
|
|
56
|
-
background-color var(--destructive-
|
|
65
|
+
.destructive
|
|
66
|
+
background-color var(--destructive-900)
|
|
67
|
+
color white
|
|
57
68
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
background-color var(--background)
|
|
69
|
+
&:hover:where(:not(:disabled))
|
|
70
|
+
background-color var(--destructive-600)
|
|
61
71
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
72
|
+
.outline
|
|
73
|
+
border 1px solid var(--border)
|
|
74
|
+
background-color var(--background)
|
|
65
75
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
76
|
+
&:hover:where(:not(:disabled))
|
|
77
|
+
background-color var(--sb-gray-50)
|
|
78
|
+
border-color var(--border)
|
|
69
79
|
|
|
70
|
-
|
|
71
|
-
background-color var(--sb-gray-
|
|
80
|
+
:global(.dark) &
|
|
81
|
+
background-color var(--sb-gray-900)
|
|
82
|
+
border-color var(--border)
|
|
72
83
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
color var(--secondary-foreground)
|
|
84
|
+
&:hover:where(:not(:disabled))
|
|
85
|
+
background-color var(--sb-gray-800)
|
|
76
86
|
|
|
77
|
-
|
|
78
|
-
background-color var(--secondary
|
|
87
|
+
.secondary
|
|
88
|
+
background-color var(--secondary)
|
|
89
|
+
color var(--secondary-foreground)
|
|
79
90
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
background-color var(--sb-gray-100)
|
|
83
|
-
color var(--foreground)
|
|
91
|
+
&:hover:where(:not(:disabled))
|
|
92
|
+
background-color var(--secondary-800)
|
|
84
93
|
|
|
85
|
-
|
|
86
|
-
|
|
94
|
+
.ghost
|
|
95
|
+
&:hover:where(:not(:disabled))
|
|
96
|
+
background-color var(--sb-gray-100)
|
|
97
|
+
color var(--foreground)
|
|
87
98
|
|
|
88
|
-
.
|
|
89
|
-
|
|
90
|
-
text-decoration underline
|
|
91
|
-
text-underline-offset 4px
|
|
99
|
+
:global(.dark) &
|
|
100
|
+
background-color var(--sb-gray-900)
|
|
92
101
|
|
|
93
|
-
|
|
102
|
+
.link
|
|
103
|
+
color var(--primary)
|
|
94
104
|
text-decoration underline
|
|
105
|
+
text-underline-offset 4px
|
|
95
106
|
|
|
96
|
-
|
|
107
|
+
&:hover:where(:not(:disabled))
|
|
108
|
+
text-decoration underline
|
|
97
109
|
|
|
98
|
-
|
|
99
|
-
height 30px
|
|
100
|
-
padding 0 14px
|
|
101
|
-
font-size var(--text-sm)
|
|
102
|
-
border-radius var(--p-5)
|
|
110
|
+
// Size styles
|
|
103
111
|
|
|
104
|
-
.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
.sizeSm
|
|
113
|
+
height 30px
|
|
114
|
+
padding 0 14px
|
|
115
|
+
font-size var(--text-sm)
|
|
116
|
+
border-radius var(--p-5)
|
|
108
117
|
|
|
109
|
-
.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
border-radius var(--p-4)
|
|
118
|
+
.sizeMd
|
|
119
|
+
height 44px
|
|
120
|
+
padding 0 var(--p-4)
|
|
121
|
+
border-radius var(--p-4)
|
|
114
122
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
.sizeLg
|
|
124
|
+
height 48px
|
|
125
|
+
padding 0 var(--p-6)
|
|
126
|
+
font-size var(--text-base)
|
|
127
|
+
border-radius var(--p-4)
|
|
118
128
|
|
|
119
|
-
|
|
120
|
-
|
|
129
|
+
// Icon buttons: square, sized per size variant, same radius as the size variant
|
|
130
|
+
.sizeIcon
|
|
121
131
|
padding 0
|
|
122
132
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
133
|
+
&.sizeSm
|
|
134
|
+
width 30px
|
|
135
|
+
padding 0
|
|
126
136
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
137
|
+
&.sizeMd
|
|
138
|
+
width 44px
|
|
139
|
+
padding 0
|
|
140
|
+
|
|
141
|
+
&.sizeLg
|
|
142
|
+
width 48px
|
|
143
|
+
padding 0
|
|
@@ -65,11 +65,12 @@ export function useMapBaseRenderer(
|
|
|
65
65
|
|
|
66
66
|
let worker: Worker;
|
|
67
67
|
try {
|
|
68
|
-
// Bundlers (
|
|
68
|
+
// Bundlers (Vite docs, webpack, Next) resolve this worker entry.
|
|
69
69
|
// Published Rollup output may keep a .ts URL — paint then falls back
|
|
70
70
|
// to the main-thread path below.
|
|
71
71
|
worker = new Worker(
|
|
72
72
|
new URL('./SupplyChainMap.render.worker.ts', import.meta.url),
|
|
73
|
+
{ type: 'module' },
|
|
73
74
|
);
|
|
74
75
|
} catch {
|
|
75
76
|
forceMainRef.current = true;
|