@x-plat/design-system 0.13.0 → 0.14.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.
Files changed (43) hide show
  1. package/dist/{breakpoints-DsXkJgdl.d.cts → breakpoints-CKkNxA-y.d.cts} +1 -1
  2. package/dist/{breakpoints-DsXkJgdl.d.ts → breakpoints-CKkNxA-y.d.ts} +1 -1
  3. package/dist/components/Badge/index.d.cts +1 -1
  4. package/dist/components/Badge/index.d.ts +1 -1
  5. package/dist/components/Dropdown/index.cjs +5 -15
  6. package/dist/components/Dropdown/index.css +0 -3
  7. package/dist/components/Dropdown/index.js +5 -15
  8. package/dist/components/PopOver/index.cjs +3 -14
  9. package/dist/components/PopOver/index.css +0 -3
  10. package/dist/components/PopOver/index.js +3 -14
  11. package/dist/components/Select/index.cjs +4 -14
  12. package/dist/components/Select/index.css +0 -3
  13. package/dist/components/Select/index.js +4 -14
  14. package/dist/components/TimePicker/index.cjs +4 -14
  15. package/dist/components/TimePicker/index.css +0 -3
  16. package/dist/components/TimePicker/index.js +4 -14
  17. package/dist/components/ToggleChip/index.cjs +69 -0
  18. package/dist/components/ToggleChip/index.css +102 -0
  19. package/dist/components/ToggleChip/index.d.cts +37 -0
  20. package/dist/components/ToggleChip/index.d.ts +37 -0
  21. package/dist/components/ToggleChip/index.js +42 -0
  22. package/dist/components/index.cjs +69 -54
  23. package/dist/components/index.css +37 -12
  24. package/dist/components/index.d.cts +2 -1
  25. package/dist/components/index.d.ts +2 -1
  26. package/dist/components/index.js +59 -45
  27. package/dist/index.cjs +88 -73
  28. package/dist/index.css +37 -12
  29. package/dist/index.d.cts +4 -3
  30. package/dist/index.d.ts +4 -3
  31. package/dist/index.js +76 -62
  32. package/dist/layout/Grid/Item/index.d.cts +1 -1
  33. package/dist/layout/Grid/Item/index.d.ts +1 -1
  34. package/dist/layout/Grid/index.d.cts +1 -1
  35. package/dist/layout/Grid/index.d.ts +1 -1
  36. package/dist/layout/index.d.cts +1 -1
  37. package/dist/layout/index.d.ts +1 -1
  38. package/dist/tokens/index.d.cts +1 -1
  39. package/dist/tokens/index.d.ts +1 -1
  40. package/guidelines/Guidelines.md +1 -1
  41. package/guidelines/MIGRATION.md +51 -0
  42. package/guidelines/components/chip-tag.md +80 -2
  43. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -347,6 +347,7 @@ __export(index_exports, {
347
347
  ThumbsUpIcon: () => ThumbsUpIcon_default,
348
348
  TimePicker: () => TimePicker_default,
349
349
  ToastProvider: () => ToastProvider,
350
+ ToggleChip: () => ToggleChip_default,
350
351
  ToggleLeftIcon: () => ToggleLeftIcon_default,
351
352
  ToggleRightIcon: () => ToggleRightIcon_default,
352
353
  ToolIcon: () => ToolIcon_default,
@@ -8388,10 +8389,8 @@ var import_react19 = __toESM(require("react"), 1);
8388
8389
  var useAutoPosition = (triggerRef, popRef, enabled = true) => {
8389
8390
  const [position, setPosition] = import_react19.default.useState({
8390
8391
  position: {},
8391
- direction: "bottom",
8392
- repositioning: false
8392
+ direction: "bottom"
8393
8393
  });
8394
- const placedRef = import_react19.default.useRef(false);
8395
8394
  const calculatePosition = import_react19.default.useCallback(() => {
8396
8395
  if (!triggerRef.current || !popRef.current) return;
8397
8396
  const triggerRect = triggerRef.current.getBoundingClientRect();
@@ -8414,18 +8413,10 @@ var useAutoPosition = (triggerRef, popRef, enabled = true) => {
8414
8413
  left = triggerRect.right - popW;
8415
8414
  }
8416
8415
  if (left < 8) left = 8;
8417
- setPosition({
8418
- position: { top, left },
8419
- direction,
8420
- repositioning: placedRef.current
8421
- });
8422
- placedRef.current = true;
8416
+ setPosition({ position: { top, left }, direction });
8423
8417
  }, [triggerRef, popRef]);
8424
8418
  import_react19.default.useLayoutEffect(() => {
8425
- if (!enabled) {
8426
- placedRef.current = false;
8427
- return;
8428
- }
8419
+ if (!enabled) return;
8429
8420
  calculatePosition();
8430
8421
  const raf = requestAnimationFrame(calculatePosition);
8431
8422
  return () => cancelAnimationFrame(raf);
@@ -8491,7 +8482,7 @@ var Dropdown = (props) => {
8491
8482
  const [visible, setVisible] = import_react21.default.useState(false);
8492
8483
  const triggerRef = import_react21.default.useRef(null);
8493
8484
  const menuRef = import_react21.default.useRef(null);
8494
- const { position, direction, repositioning } = useAutoPosition_default(triggerRef, menuRef, mounted);
8485
+ const { position, direction } = useAutoPosition_default(triggerRef, menuRef, mounted);
8495
8486
  useClickOutside_default([triggerRef, menuRef], () => setIsOpen(false), isOpen);
8496
8487
  useEscapeKey(isOpen, () => {
8497
8488
  setIsOpen(false);
@@ -8526,7 +8517,7 @@ var Dropdown = (props) => {
8526
8517
  "div",
8527
8518
  {
8528
8519
  ref: menuRef,
8529
- className: clsx_default("lib-xplat-dropdown-menu", direction, { visible }, repositioning && "repositioning"),
8520
+ className: clsx_default("lib-xplat-dropdown-menu", direction, { visible }),
8530
8521
  style: { top: position.top, left: position.left },
8531
8522
  role: "menu",
8532
8523
  children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime322.jsx)(
@@ -10458,7 +10449,6 @@ var PopOver = (props) => {
10458
10449
  className: clsx_default(
10459
10450
  "lib-xplat-pop-over-content",
10460
10451
  position.direction,
10461
- position.repositioning && "repositioning",
10462
10452
  eventTrigger && "visible"
10463
10453
  ),
10464
10454
  ref: popRef,
@@ -10805,7 +10795,7 @@ var SelectRoot = (props) => {
10805
10795
  mounted && /* @__PURE__ */ (0, import_jsx_runtime337.jsx)(Portal_default, { children: /* @__PURE__ */ (0, import_jsx_runtime337.jsxs)(
10806
10796
  "div",
10807
10797
  {
10808
- className: clsx_default("lib-xplat-select-content", size, position.direction, stateClass, position.repositioning && "repositioning"),
10798
+ className: clsx_default("lib-xplat-select-content", size, position.direction, stateClass),
10809
10799
  ref: contentRef,
10810
10800
  style: { ...position.position, width: triggerRef.current?.offsetWidth },
10811
10801
  role: "listbox",
@@ -11698,7 +11688,7 @@ var TimePicker = (props) => {
11698
11688
  "div",
11699
11689
  {
11700
11690
  ref: contentRef,
11701
- className: clsx_default("lib-xplat-time-picker-content", size, visible ? "enter" : "exit", position.repositioning && "repositioning"),
11691
+ className: clsx_default("lib-xplat-time-picker-content", size, visible ? "enter" : "exit"),
11702
11692
  style: { ...position.position, width: triggerRef.current?.offsetWidth },
11703
11693
  role: "listbox",
11704
11694
  children: options.map((t) => /* @__PURE__ */ (0, import_jsx_runtime351.jsx)(
@@ -11818,9 +11808,33 @@ var ToastProvider = ({
11818
11808
  };
11819
11809
  ToastProvider.displayName = "ToastProvider";
11820
11810
 
11811
+ // src/components/ToggleChip/ToggleChip.tsx
11812
+ var import_jsx_runtime353 = require("react/jsx-runtime");
11813
+ var ToggleChip = (props) => {
11814
+ const { children, selected = false, onClick, disabled = false, size = "md" } = props;
11815
+ return /* @__PURE__ */ (0, import_jsx_runtime353.jsx)(
11816
+ "button",
11817
+ {
11818
+ type: "button",
11819
+ className: clsx_default(
11820
+ "lib-xplat-chip",
11821
+ "lib-xplat-toggle-chip",
11822
+ size,
11823
+ selected ? "selected" : "unselected"
11824
+ ),
11825
+ "aria-pressed": selected,
11826
+ disabled,
11827
+ onClick,
11828
+ children
11829
+ }
11830
+ );
11831
+ };
11832
+ ToggleChip.displayName = "ToggleChip";
11833
+ var ToggleChip_default = ToggleChip;
11834
+
11821
11835
  // src/components/Tooltip/Tooltip.tsx
11822
11836
  var import_react42 = __toESM(require("react"), 1);
11823
- var import_jsx_runtime353 = require("react/jsx-runtime");
11837
+ var import_jsx_runtime354 = require("react/jsx-runtime");
11824
11838
  var OFFSET = 12;
11825
11839
  var GAP = 8;
11826
11840
  var SHOW_DELAY = 300;
@@ -11925,8 +11939,8 @@ var Tooltip = (props) => {
11925
11939
  window.clearTimeout(delayTimer.current);
11926
11940
  cancelAnimationFrame(rafRef.current);
11927
11941
  }, []);
11928
- if (!title && !description) return /* @__PURE__ */ (0, import_jsx_runtime353.jsx)(import_jsx_runtime353.Fragment, { children });
11929
- return /* @__PURE__ */ (0, import_jsx_runtime353.jsxs)(
11942
+ if (!title && !description) return /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(import_jsx_runtime354.Fragment, { children });
11943
+ return /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)(
11930
11944
  "div",
11931
11945
  {
11932
11946
  ref: triggerRef,
@@ -11939,7 +11953,7 @@ var Tooltip = (props) => {
11939
11953
  onBlur: close,
11940
11954
  children: [
11941
11955
  children,
11942
- visible && /* @__PURE__ */ (0, import_jsx_runtime353.jsx)(Portal_default, { children: /* @__PURE__ */ (0, import_jsx_runtime353.jsxs)(
11956
+ visible && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(Portal_default, { children: /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)(
11943
11957
  "div",
11944
11958
  {
11945
11959
  ref: tooltipRef,
@@ -11947,8 +11961,8 @@ var Tooltip = (props) => {
11947
11961
  className: clsx_default("lib-xplat-tooltip", shape),
11948
11962
  style: { position: "fixed", left: pos.left, top: pos.top },
11949
11963
  children: [
11950
- title && /* @__PURE__ */ (0, import_jsx_runtime353.jsx)("div", { className: "tooltip-title", children: title }),
11951
- description && /* @__PURE__ */ (0, import_jsx_runtime353.jsx)("div", { className: "tooltip-desc", children: description })
11964
+ title && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("div", { className: "tooltip-title", children: title }),
11965
+ description && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("div", { className: "tooltip-desc", children: description })
11952
11966
  ]
11953
11967
  }
11954
11968
  ) })
@@ -11961,10 +11975,10 @@ var Tooltip_default = Tooltip;
11961
11975
 
11962
11976
  // src/components/Video/Video.tsx
11963
11977
  var import_react43 = __toESM(require("react"), 1);
11964
- var import_jsx_runtime354 = require("react/jsx-runtime");
11965
- var PipIcon = () => /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)("svg", { viewBox: "0 0 24 24", width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
11966
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
11967
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("rect", { x: "12", y: "11", width: "7", height: "6", rx: "1", fill: "currentColor" })
11978
+ var import_jsx_runtime355 = require("react/jsx-runtime");
11979
+ var PipIcon = () => /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)("svg", { viewBox: "0 0 24 24", width: "1em", height: "1em", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
11980
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("rect", { x: "3", y: "5", width: "18", height: "14", rx: "2" }),
11981
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("rect", { x: "12", y: "11", width: "7", height: "6", rx: "1", fill: "currentColor" })
11968
11982
  ] });
11969
11983
  var formatTime = (sec) => {
11970
11984
  if (!Number.isFinite(sec) || sec < 0) return "0:00";
@@ -12139,13 +12153,13 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12139
12153
  const volumePct = (isMuted ? 0 : volume) * 100;
12140
12154
  const VolumeGlyph = isMuted || volume === 0 ? VolumeXIcon_default : volume < 0.5 ? VolumeIcon_default : Volume2Icon_default;
12141
12155
  const pipSupported = typeof document !== "undefined" && "pictureInPictureEnabled" in document && document.pictureInPictureEnabled;
12142
- return /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)(
12156
+ return /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)(
12143
12157
  "div",
12144
12158
  {
12145
12159
  ref: containerRef,
12146
12160
  className: clsx_default("lib-xplat-video", showControls && "has-controls"),
12147
12161
  children: [
12148
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12162
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12149
12163
  "video",
12150
12164
  {
12151
12165
  ref: setRefs,
@@ -12166,7 +12180,7 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12166
12180
  children
12167
12181
  }
12168
12182
  ),
12169
- showCenterPlay && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12183
+ showCenterPlay && /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12170
12184
  "button",
12171
12185
  {
12172
12186
  type: "button",
@@ -12178,11 +12192,11 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12178
12192
  onClick: togglePlay,
12179
12193
  "aria-label": isPlaying ? "\uC77C\uC2DC\uC815\uC9C0" : "\uC7AC\uC0DD",
12180
12194
  tabIndex: -1,
12181
- children: /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("span", { className: "center-play-icon", children: /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(PlayCircleIcon_default, {}) })
12195
+ children: /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("span", { className: "center-play-icon", children: /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(PlayCircleIcon_default, {}) })
12182
12196
  }
12183
12197
  ),
12184
- showControls && /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)("div", { className: "controls", onClick: (e) => e.stopPropagation(), children: [
12185
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12198
+ showControls && /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)("div", { className: "controls", onClick: (e) => e.stopPropagation(), children: [
12199
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12186
12200
  "input",
12187
12201
  {
12188
12202
  type: "range",
@@ -12199,29 +12213,29 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12199
12213
  }
12200
12214
  }
12201
12215
  ),
12202
- /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)("div", { className: "controls-row", children: [
12203
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12216
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)("div", { className: "controls-row", children: [
12217
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12204
12218
  "button",
12205
12219
  {
12206
12220
  type: "button",
12207
12221
  className: "control-btn",
12208
12222
  onClick: togglePlay,
12209
12223
  "aria-label": isPlaying ? "\uC77C\uC2DC\uC815\uC9C0" : "\uC7AC\uC0DD",
12210
- children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(PauseIcon_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(PlayIcon_default, {})
12224
+ children: isPlaying ? /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(PauseIcon_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(PlayIcon_default, {})
12211
12225
  }
12212
12226
  ),
12213
- /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)("div", { className: "volume-group", children: [
12214
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12227
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)("div", { className: "volume-group", children: [
12228
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12215
12229
  "button",
12216
12230
  {
12217
12231
  type: "button",
12218
12232
  className: "control-btn",
12219
12233
  onClick: toggleMute,
12220
12234
  "aria-label": isMuted ? "\uC74C\uC18C\uAC70 \uD574\uC81C" : "\uC74C\uC18C\uAC70",
12221
- children: /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(VolumeGlyph, {})
12235
+ children: /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(VolumeGlyph, {})
12222
12236
  }
12223
12237
  ),
12224
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12238
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12225
12239
  "input",
12226
12240
  {
12227
12241
  type: "range",
@@ -12236,14 +12250,14 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12236
12250
  }
12237
12251
  )
12238
12252
  ] }),
12239
- /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)("span", { className: "time", children: [
12253
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)("span", { className: "time", children: [
12240
12254
  formatTime(currentTime),
12241
12255
  " / ",
12242
12256
  formatTime(duration)
12243
12257
  ] }),
12244
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("div", { className: "controls-spacer" }),
12245
- playbackRates && playbackRates.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)("div", { className: clsx_default("rate-group", rateMenuOpen && "is-open"), children: [
12246
- /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)(
12258
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("div", { className: "controls-spacer" }),
12259
+ playbackRates && playbackRates.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)("div", { className: clsx_default("rate-group", rateMenuOpen && "is-open"), children: [
12260
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)(
12247
12261
  "button",
12248
12262
  {
12249
12263
  type: "button",
@@ -12257,7 +12271,7 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12257
12271
  ]
12258
12272
  }
12259
12273
  ),
12260
- rateMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("ul", { className: "rate-menu", role: "menu", children: playbackRates.map((r2) => /* @__PURE__ */ (0, import_jsx_runtime354.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime354.jsxs)(
12274
+ rateMenuOpen && /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("ul", { className: "rate-menu", role: "menu", children: playbackRates.map((r2) => /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime355.jsxs)(
12261
12275
  "button",
12262
12276
  {
12263
12277
  type: "button",
@@ -12271,7 +12285,7 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12271
12285
  }
12272
12286
  ) }, r2)) })
12273
12287
  ] }),
12274
- showCaptions && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12288
+ showCaptions && /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12275
12289
  "button",
12276
12290
  {
12277
12291
  type: "button",
@@ -12279,37 +12293,37 @@ var Video = import_react43.default.forwardRef((props, ref) => {
12279
12293
  onClick: toggleCaptions,
12280
12294
  "aria-label": captionsOn ? "\uC790\uB9C9 \uB044\uAE30" : "\uC790\uB9C9 \uCF1C\uAE30",
12281
12295
  "aria-pressed": captionsOn,
12282
- children: /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(TypeIcon_default, {})
12296
+ children: /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(TypeIcon_default, {})
12283
12297
  }
12284
12298
  ),
12285
- showPip && pipSupported && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12299
+ showPip && pipSupported && /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12286
12300
  "button",
12287
12301
  {
12288
12302
  type: "button",
12289
12303
  className: clsx_default("control-btn", isPip && "is-active"),
12290
12304
  onClick: togglePip,
12291
12305
  "aria-label": isPip ? "PIP \uC885\uB8CC" : "PIP",
12292
- children: /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(PipIcon, {})
12306
+ children: /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(PipIcon, {})
12293
12307
  }
12294
12308
  ),
12295
- showDownload && /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12309
+ showDownload && /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12296
12310
  "a",
12297
12311
  {
12298
12312
  className: "control-btn",
12299
12313
  href: src,
12300
12314
  download: downloadFileName ?? true,
12301
12315
  "aria-label": "\uB2E4\uC6B4\uB85C\uB4DC",
12302
- children: /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(DownloadIcon_default, {})
12316
+ children: /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(DownloadIcon_default, {})
12303
12317
  }
12304
12318
  ),
12305
- /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(
12319
+ /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(
12306
12320
  "button",
12307
12321
  {
12308
12322
  type: "button",
12309
12323
  className: "control-btn",
12310
12324
  onClick: toggleFullscreen,
12311
12325
  "aria-label": isFullscreen ? "\uC804\uCCB4\uD654\uBA74 \uC885\uB8CC" : "\uC804\uCCB4\uD654\uBA74",
12312
- children: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(MinimizeIcon_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime354.jsx)(MaximizeIcon_default, {})
12326
+ children: isFullscreen ? /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(MinimizeIcon_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime355.jsx)(MaximizeIcon_default, {})
12313
12327
  }
12314
12328
  )
12315
12329
  ] })
@@ -12322,7 +12336,7 @@ Video.displayName = "Video";
12322
12336
  var Video_default = Video;
12323
12337
 
12324
12338
  // src/layout/Grid/FullGrid/FullGrid.tsx
12325
- var import_jsx_runtime355 = require("react/jsx-runtime");
12339
+ var import_jsx_runtime356 = require("react/jsx-runtime");
12326
12340
  var GAP_MAP = {
12327
12341
  none: "var(--spacing-space-none)",
12328
12342
  xs: "var(--spacing-space-1)",
@@ -12335,13 +12349,13 @@ var GAP_MAP = {
12335
12349
  var FullGrid = (props) => {
12336
12350
  const { children, gap } = props;
12337
12351
  const style = gap != null ? { gap: GAP_MAP[gap] } : void 0;
12338
- return /* @__PURE__ */ (0, import_jsx_runtime355.jsx)("div", { className: "lib-xplat-full-grid", style, children });
12352
+ return /* @__PURE__ */ (0, import_jsx_runtime356.jsx)("div", { className: "lib-xplat-full-grid", style, children });
12339
12353
  };
12340
12354
  FullGrid.displayName = "FullGrid";
12341
12355
  var FullGrid_default = FullGrid;
12342
12356
 
12343
12357
  // src/layout/Grid/FullScreen/FullScreen.tsx
12344
- var import_jsx_runtime356 = require("react/jsx-runtime");
12358
+ var import_jsx_runtime357 = require("react/jsx-runtime");
12345
12359
  var GAP_MAP2 = {
12346
12360
  none: "var(--spacing-space-none)",
12347
12361
  xs: "var(--spacing-space-1)",
@@ -12354,13 +12368,13 @@ var GAP_MAP2 = {
12354
12368
  var FullScreen = (props) => {
12355
12369
  const { children, gap } = props;
12356
12370
  const style = gap != null ? { gap: GAP_MAP2[gap] } : void 0;
12357
- return /* @__PURE__ */ (0, import_jsx_runtime356.jsx)("div", { className: "lib-xplat-full-screen", style, children });
12371
+ return /* @__PURE__ */ (0, import_jsx_runtime357.jsx)("div", { className: "lib-xplat-full-screen", style, children });
12358
12372
  };
12359
12373
  FullScreen.displayName = "FullScreen";
12360
12374
  var FullScreen_default = FullScreen;
12361
12375
 
12362
12376
  // src/layout/Grid/Item/Item.tsx
12363
- var import_jsx_runtime357 = require("react/jsx-runtime");
12377
+ var import_jsx_runtime358 = require("react/jsx-runtime");
12364
12378
  var calculateSpans = (column) => {
12365
12379
  const spans = {};
12366
12380
  let inherited = column.default;
@@ -12377,35 +12391,35 @@ var GridItem = ({ column, children, className }) => {
12377
12391
  Object.entries(spans).forEach(([key, value]) => {
12378
12392
  style[`--column-${key}`] = value;
12379
12393
  });
12380
- return /* @__PURE__ */ (0, import_jsx_runtime357.jsx)("div", { className: clsx_default("lib-xplat-grid-item", className), style, children });
12394
+ return /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { className: clsx_default("lib-xplat-grid-item", className), style, children });
12381
12395
  };
12382
12396
  GridItem.displayName = "GridItem";
12383
12397
  var Item_default = GridItem;
12384
12398
 
12385
12399
  // src/layout/Header/Header.tsx
12386
- var import_jsx_runtime358 = require("react/jsx-runtime");
12400
+ var import_jsx_runtime359 = require("react/jsx-runtime");
12387
12401
  var Header = ({
12388
12402
  logo,
12389
12403
  centerContent,
12390
12404
  rightContent
12391
12405
  }) => {
12392
- return /* @__PURE__ */ (0, import_jsx_runtime358.jsxs)("div", { className: "lib-xplat-layout-header", children: [
12393
- /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { children: logo }),
12394
- /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { children: centerContent }),
12395
- /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { children: rightContent })
12406
+ return /* @__PURE__ */ (0, import_jsx_runtime359.jsxs)("div", { className: "lib-xplat-layout-header", children: [
12407
+ /* @__PURE__ */ (0, import_jsx_runtime359.jsx)("div", { children: logo }),
12408
+ /* @__PURE__ */ (0, import_jsx_runtime359.jsx)("div", { children: centerContent }),
12409
+ /* @__PURE__ */ (0, import_jsx_runtime359.jsx)("div", { children: rightContent })
12396
12410
  ] });
12397
12411
  };
12398
12412
  Header.displayName = "Header";
12399
12413
  var Header_default = Header;
12400
12414
 
12401
12415
  // src/layout/Layout/Layout.tsx
12402
- var import_jsx_runtime359 = require("react/jsx-runtime");
12416
+ var import_jsx_runtime360 = require("react/jsx-runtime");
12403
12417
  var Layout = (props) => {
12404
12418
  const { header, sideBar, children } = props;
12405
- return /* @__PURE__ */ (0, import_jsx_runtime359.jsx)("div", { className: "lib-xplat-layout", children: /* @__PURE__ */ (0, import_jsx_runtime359.jsxs)("div", { className: "lib-xplat-layout-content-wrapper", children: [
12406
- sideBar && /* @__PURE__ */ (0, import_jsx_runtime359.jsx)(import_jsx_runtime359.Fragment, { children: sideBar }),
12407
- /* @__PURE__ */ (0, import_jsx_runtime359.jsxs)("div", { className: "lib-xplat-layout-content", children: [
12408
- header && /* @__PURE__ */ (0, import_jsx_runtime359.jsx)("div", { className: "lib-xplat-layout-conent-header", children: header }),
12419
+ return /* @__PURE__ */ (0, import_jsx_runtime360.jsx)("div", { className: "lib-xplat-layout", children: /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)("div", { className: "lib-xplat-layout-content-wrapper", children: [
12420
+ sideBar && /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(import_jsx_runtime360.Fragment, { children: sideBar }),
12421
+ /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)("div", { className: "lib-xplat-layout-content", children: [
12422
+ header && /* @__PURE__ */ (0, import_jsx_runtime360.jsx)("div", { className: "lib-xplat-layout-conent-header", children: header }),
12409
12423
  children
12410
12424
  ] })
12411
12425
  ] }) });
@@ -12427,18 +12441,18 @@ var useSideBarContext = () => {
12427
12441
  var SideBarContext_default = SideBarContext;
12428
12442
 
12429
12443
  // src/layout/SideBar/SideBar.tsx
12430
- var import_jsx_runtime360 = require("react/jsx-runtime");
12444
+ var import_jsx_runtime361 = require("react/jsx-runtime");
12431
12445
  var SideBar = (props) => {
12432
12446
  const { children, className } = props;
12433
12447
  const [isOpen, setIsOpen] = import_react45.default.useState(true);
12434
12448
  const handleSwitchSideBar = () => {
12435
12449
  setIsOpen((prev) => !prev);
12436
12450
  };
12437
- return /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
12451
+ return /* @__PURE__ */ (0, import_jsx_runtime361.jsx)(
12438
12452
  SideBarContext_default.Provider,
12439
12453
  {
12440
12454
  value: { isSidebarOpen: isOpen, handleSwitchSideBar },
12441
- children: /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
12455
+ children: /* @__PURE__ */ (0, import_jsx_runtime361.jsx)(
12442
12456
  "div",
12443
12457
  {
12444
12458
  className: clsx_default(
@@ -12773,6 +12787,7 @@ var SideBar_default = SideBar;
12773
12787
  ThumbsUpIcon,
12774
12788
  TimePicker,
12775
12789
  ToastProvider,
12790
+ ToggleChip,
12776
12791
  ToggleLeftIcon,
12777
12792
  ToggleRightIcon,
12778
12793
  ToolIcon,
package/dist/index.css CHANGED
@@ -3322,9 +3322,6 @@
3322
3322
  color: var(--semantic-text-disabled);
3323
3323
  cursor: not-allowed;
3324
3324
  }
3325
- .lib-xplat-dropdown-menu.repositioning {
3326
- transition: none;
3327
- }
3328
3325
 
3329
3326
  /* src/components/Editor/editor.scss */
3330
3327
  .lib-xplat-editor {
@@ -4183,9 +4180,6 @@
4183
4180
  opacity: 1;
4184
4181
  transform: scale(1);
4185
4182
  }
4186
- .lib-xplat-pop-over-content.repositioning {
4187
- transition: none;
4188
- }
4189
4183
 
4190
4184
  /* src/components/Progress/progress.scss */
4191
4185
  .lib-xplat-progress {
@@ -4580,9 +4574,6 @@
4580
4574
  cursor: not-allowed;
4581
4575
  color: var(--semantic-text-disabled);
4582
4576
  }
4583
- .lib-xplat-select-content.repositioning {
4584
- transition: none;
4585
- }
4586
4577
 
4587
4578
  /* src/components/Skeleton/skeleton.scss */
4588
4579
  .lib-xplat-skeleton {
@@ -5683,9 +5674,6 @@
5683
5674
  font-weight: var(--semantic-typo-label-1-m-weight);
5684
5675
  letter-spacing: var(--semantic-typo-label-1-m-ls);
5685
5676
  }
5686
- .lib-xplat-time-picker-content.repositioning {
5687
- transition: none;
5688
- }
5689
5677
 
5690
5678
  /* src/components/Toast/toast.scss */
5691
5679
  .lib-xplat-toast-container {
@@ -5806,6 +5794,43 @@
5806
5794
  }
5807
5795
  }
5808
5796
 
5797
+ /* src/components/ToggleChip/togglechip.scss */
5798
+ .lib-xplat-toggle-chip {
5799
+ cursor: pointer;
5800
+ font-family: inherit;
5801
+ transition:
5802
+ background-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
5803
+ border-color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
5804
+ color 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
5805
+ }
5806
+ .lib-xplat-toggle-chip.unselected {
5807
+ color: var(--semantic-text-secondary);
5808
+ background-color: var(--semantic-surface-neutral-primary);
5809
+ border: 1px solid var(--semantic-border-primary);
5810
+ }
5811
+ .lib-xplat-toggle-chip.unselected:hover:not(:disabled) {
5812
+ color: var(--semantic-text-primary);
5813
+ background-color: var(--semantic-surface-neutral-secondary);
5814
+ }
5815
+ .lib-xplat-toggle-chip {
5816
+ }
5817
+ .lib-xplat-toggle-chip.selected {
5818
+ color: var(--semantic-text-brand-primary);
5819
+ background-color: var(--semantic-surface-brand-subtle);
5820
+ border: 1px solid var(--semantic-border-brand-primary);
5821
+ }
5822
+ .lib-xplat-toggle-chip.selected:hover:not(:disabled) {
5823
+ background-color: var(--semantic-surface-brand-secondary);
5824
+ }
5825
+ .lib-xplat-toggle-chip:focus-visible {
5826
+ outline: 2px solid var(--semantic-interaction-focus-ring);
5827
+ outline-offset: 2px;
5828
+ }
5829
+ .lib-xplat-toggle-chip:disabled {
5830
+ cursor: not-allowed;
5831
+ opacity: 0.4;
5832
+ }
5833
+
5809
5834
  /* src/components/Video/video.scss */
5810
5835
  .lib-xplat-video {
5811
5836
  position: relative;
package/dist/index.d.cts CHANGED
@@ -27,7 +27,7 @@ export { Input, PasswordInput } from './components/Input/index.cjs';
27
27
  export { Link } from './components/Link/index.cjs';
28
28
  export { LinkButton } from './components/LinkButton/index.cjs';
29
29
  export { Modal } from './components/Modal/index.cjs';
30
- export { NotificationBadge as Badge, NotificationBadge } from './components/NotificationBadge/index.cjs';
30
+ export { Badge, Badge as NotificationBadge } from './components/NotificationBadge/index.cjs';
31
31
  export { Pagination } from './components/Pagination/index.cjs';
32
32
  export { PopOver } from './components/PopOver/index.cjs';
33
33
  export { Progress } from './components/Progress/index.cjs';
@@ -45,17 +45,18 @@ export { Tag } from './components/Tag/index.cjs';
45
45
  export { TextArea } from './components/TextArea/index.cjs';
46
46
  export { TimePicker } from './components/TimePicker/index.cjs';
47
47
  export { ToastProvider, useToast } from './components/Toast/index.cjs';
48
+ export { ToggleChip } from './components/ToggleChip/index.cjs';
48
49
  export { Tooltip } from './components/Tooltip/index.cjs';
49
50
  export { Video, VideoProps } from './components/Video/index.cjs';
50
51
  export { FullGrid } from './layout/Grid/FullGrid/index.cjs';
51
52
  export { FullScreen } from './layout/Grid/FullScreen/index.cjs';
52
53
  export { GridItem } from './layout/Grid/Item/index.cjs';
53
- export { B as BREAKPOINT_KEYS_ORDERED, a as BreakpointKey, b as GridColumnConfig, G as GridSpanFor, c as breakpoints, g as gridColumns } from './breakpoints-DsXkJgdl.cjs';
54
+ export { B as BREAKPOINT_KEYS_ORDERED, a as BreakpointKey, G as GridColumnConfig, b as GridSpanFor, c as breakpoints, g as gridColumns } from './breakpoints-CKkNxA-y.cjs';
54
55
  export { Header } from './layout/Header/index.cjs';
55
56
  export { Layout } from './layout/Layout/index.cjs';
56
57
  export { SideBar, SideBarContext, useSideBarContext } from './layout/SideBar/index.cjs';
57
58
  export { TokenVar, cssVar, semantic } from '@x-plat/tokens-core';
58
- export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BluetoothIcon, BoldIcon, BookIcon, BookOpenIcon, BookmarkIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CalenderIcon, CallActiveIcon, CallForwardedIcon, DefaultCall as CallIcon, CallIncomingIcon, CallMissedIcon, CallOffIcon, CallOutgoingIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseEyeIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColorProps, ColorToken, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DefaultCall, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ErrorIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GierIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GitMergeIcon, GitPullRequestIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkIcon, LinkedinIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, OpenEyeIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProfileIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SemanticColorToken, SendIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlashIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SuccessIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, ToolIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon } from './tokens/index.cjs';
59
+ export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BluetoothIcon, BoldIcon, BookIcon, BookOpenIcon, BookmarkIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CalenderIcon, CallActiveIcon, CallForwardedIcon, CallIcon, CallIncomingIcon, CallMissedIcon, CallOffIcon, CallOutgoingIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseEyeIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColorProps, ColorToken, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, CallIcon as DefaultCall, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ErrorIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GierIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GitMergeIcon, GitPullRequestIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkIcon, LinkedinIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, OpenEyeIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProfileIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SemanticColorToken, SendIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlashIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SuccessIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, ToolIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon } from './tokens/index.cjs';
59
60
  import 'react';
60
61
  import './attributes-DJIWir_0.cjs';
61
62
  import './validation-Dqo1zqhT.cjs';
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ export { Input, PasswordInput } from './components/Input/index.js';
27
27
  export { Link } from './components/Link/index.js';
28
28
  export { LinkButton } from './components/LinkButton/index.js';
29
29
  export { Modal } from './components/Modal/index.js';
30
- export { NotificationBadge as Badge, NotificationBadge } from './components/NotificationBadge/index.js';
30
+ export { Badge, Badge as NotificationBadge } from './components/NotificationBadge/index.js';
31
31
  export { Pagination } from './components/Pagination/index.js';
32
32
  export { PopOver } from './components/PopOver/index.js';
33
33
  export { Progress } from './components/Progress/index.js';
@@ -45,17 +45,18 @@ export { Tag } from './components/Tag/index.js';
45
45
  export { TextArea } from './components/TextArea/index.js';
46
46
  export { TimePicker } from './components/TimePicker/index.js';
47
47
  export { ToastProvider, useToast } from './components/Toast/index.js';
48
+ export { ToggleChip } from './components/ToggleChip/index.js';
48
49
  export { Tooltip } from './components/Tooltip/index.js';
49
50
  export { Video, VideoProps } from './components/Video/index.js';
50
51
  export { FullGrid } from './layout/Grid/FullGrid/index.js';
51
52
  export { FullScreen } from './layout/Grid/FullScreen/index.js';
52
53
  export { GridItem } from './layout/Grid/Item/index.js';
53
- export { B as BREAKPOINT_KEYS_ORDERED, a as BreakpointKey, b as GridColumnConfig, G as GridSpanFor, c as breakpoints, g as gridColumns } from './breakpoints-DsXkJgdl.js';
54
+ export { B as BREAKPOINT_KEYS_ORDERED, a as BreakpointKey, G as GridColumnConfig, b as GridSpanFor, c as breakpoints, g as gridColumns } from './breakpoints-CKkNxA-y.js';
54
55
  export { Header } from './layout/Header/index.js';
55
56
  export { Layout } from './layout/Layout/index.js';
56
57
  export { SideBar, SideBarContext, useSideBarContext } from './layout/SideBar/index.js';
57
58
  export { TokenVar, cssVar, semantic } from '@x-plat/tokens-core';
58
- export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BluetoothIcon, BoldIcon, BookIcon, BookOpenIcon, BookmarkIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CalenderIcon, CallActiveIcon, CallForwardedIcon, DefaultCall as CallIcon, CallIncomingIcon, CallMissedIcon, CallOffIcon, CallOutgoingIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseEyeIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColorProps, ColorToken, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, DefaultCall, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ErrorIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GierIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GitMergeIcon, GitPullRequestIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkIcon, LinkedinIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, OpenEyeIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProfileIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SemanticColorToken, SendIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlashIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SuccessIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, ToolIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon } from './tokens/index.js';
59
+ export { ActivityIcon, AirplayIcon, AlertCircleIcon, AlertOctagonIcon, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, AnchorIcon, ApertureIcon, ArchiveIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftCircleIcon, ArrowLeftIcon, ArrowRightCircleIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AwardIcon, BarChart2Icon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BluetoothIcon, BoldIcon, BookIcon, BookOpenIcon, BookmarkIcon, BoxIcon, BriefcaseIcon, CalendarIcon, CalenderIcon, CallActiveIcon, CallForwardedIcon, CallIcon, CallIncomingIcon, CallMissedIcon, CallOffIcon, CallOutgoingIcon, CameraIcon, CameraOffIcon, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseEyeIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, CodeIcon, CodepenIcon, CodesandboxIcon, CoffeeIcon, ColorProps, ColorToken, ColumnsIcon, CommandIcon, CompassIcon, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, DatabaseIcon, CallIcon as DefaultCall, DeleteIcon, DiscIcon, DivideCircleIcon, DivideIcon, DivideSquareIcon, DollarSignIcon, DownloadCloudIcon, DownloadIcon, DribbbleIcon, DropletIcon, Edit2Icon, Edit3Icon, EditIcon, ErrorIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FolderMinusIcon, FolderPlusIcon, FramerIcon, FrownIcon, GierIcon, GiftIcon, GitBranchIcon, GitCommitIcon, GitMergeIcon, GitPullRequestIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HardDriveIcon, HashIcon, HeadphonesIcon, HeartIcon, HelpCircleIcon, HexagonIcon, HomeIcon, ImageIcon, InboxIcon, InfoIcon, InstagramIcon, ItalicIcon, KeyIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link2Icon, LinkIcon, LinkedinIcon, ListIcon, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MapIcon, MapPinIcon, Maximize2Icon, MaximizeIcon, MehIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, Minimize2Icon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MousePointerIcon, MoveIcon, MusicIcon, Navigation2Icon, NavigationIcon, OctagonIcon, OpenEyeIcon, PackageIcon, PaperclipIcon, PauseCircleIcon, PauseIcon, PenToolIcon, PercentIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProfileIcon, RadioIcon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RewindIcon, RotateCcwIcon, RotateCwIcon, RssIcon, SaveIcon, ScissorsIcon, SearchIcon, SemanticColorToken, SendIcon, ServerIcon, SettingsIcon, Share2Icon, ShareIcon, ShieldIcon, ShieldOffIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, SkipBackIcon, SkipForwardIcon, SlackIcon, SlashIcon, SlidersIcon, SmartphoneIcon, SmileIcon, SpeakerIcon, SquareIcon, StarIcon, StopCircleIcon, SuccessIcon, SunIcon, SunriseIcon, SunsetIcon, TableIcon, TabletIcon, TagIcon, TargetIcon, TerminalIcon, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToggleLeftIcon, ToggleRightIcon, ToolIcon, Trash2Icon, TrashIcon, TrelloIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TruckIcon, TvIcon, TwitchIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VoicemailIcon, Volume1Icon, Volume2Icon, VolumeIcon, VolumeXIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XIcon, XOctagonIcon, XSquareIcon, YoutubeIcon, ZapIcon, ZapOffIcon, ZoomInIcon, ZoomOutIcon } from './tokens/index.js';
59
60
  import 'react';
60
61
  import './attributes-DJIWir_0.js';
61
62
  import './validation-Dqo1zqhT.js';