@x-plat/design-system 0.2.2 → 0.2.3

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 (73) hide show
  1. package/dist/{colors-DmMsWD7G.d.cts → colors-BNxEsOY3.d.cts} +13 -4
  2. package/dist/{colors-DmMsWD7G.d.ts → colors-BNxEsOY3.d.ts} +13 -4
  3. package/dist/components/Avatar/index.cjs +1 -123
  4. package/dist/components/Avatar/index.d.cts +234 -2
  5. package/dist/components/Avatar/index.d.ts +234 -2
  6. package/dist/components/Avatar/index.js +1 -123
  7. package/dist/components/Badge/index.cjs +1 -123
  8. package/dist/components/Badge/index.d.cts +234 -2
  9. package/dist/components/Badge/index.d.ts +234 -2
  10. package/dist/components/Badge/index.js +1 -123
  11. package/dist/components/Button/index.cjs +1 -123
  12. package/dist/components/Button/index.d.cts +234 -2
  13. package/dist/components/Button/index.d.ts +234 -2
  14. package/dist/components/Button/index.js +1 -123
  15. package/dist/components/CheckBox/index.cjs +1 -123
  16. package/dist/components/CheckBox/index.d.cts +234 -2
  17. package/dist/components/CheckBox/index.d.ts +234 -2
  18. package/dist/components/CheckBox/index.js +1 -123
  19. package/dist/components/Chip/index.cjs +1 -123
  20. package/dist/components/Chip/index.d.cts +234 -2
  21. package/dist/components/Chip/index.d.ts +234 -2
  22. package/dist/components/Chip/index.js +1 -123
  23. package/dist/components/DatePicker/index.cjs +83 -86
  24. package/dist/components/DatePicker/index.d.cts +467 -3
  25. package/dist/components/DatePicker/index.d.ts +467 -3
  26. package/dist/components/DatePicker/index.js +83 -86
  27. package/dist/components/Pagination/index.cjs +1 -123
  28. package/dist/components/Pagination/index.d.cts +234 -2
  29. package/dist/components/Pagination/index.d.ts +234 -2
  30. package/dist/components/Pagination/index.js +1 -123
  31. package/dist/components/Progress/index.cjs +1 -123
  32. package/dist/components/Progress/index.d.cts +234 -2
  33. package/dist/components/Progress/index.d.ts +234 -2
  34. package/dist/components/Progress/index.js +1 -123
  35. package/dist/components/Radio/index.cjs +1 -123
  36. package/dist/components/Radio/index.d.cts +234 -2
  37. package/dist/components/Radio/index.d.ts +234 -2
  38. package/dist/components/Radio/index.js +1 -123
  39. package/dist/components/Spinner/index.cjs +1 -123
  40. package/dist/components/Spinner/index.d.cts +234 -2
  41. package/dist/components/Spinner/index.d.ts +234 -2
  42. package/dist/components/Spinner/index.js +1 -123
  43. package/dist/components/Steps/index.cjs +1 -123
  44. package/dist/components/Steps/index.d.cts +234 -2
  45. package/dist/components/Steps/index.d.ts +234 -2
  46. package/dist/components/Steps/index.js +1 -123
  47. package/dist/components/Switch/index.cjs +1 -123
  48. package/dist/components/Switch/index.d.cts +234 -2
  49. package/dist/components/Switch/index.d.ts +234 -2
  50. package/dist/components/Switch/index.js +1 -123
  51. package/dist/components/Table/index.cjs +1 -123
  52. package/dist/components/Table/index.d.cts +234 -2
  53. package/dist/components/Table/index.d.ts +234 -2
  54. package/dist/components/Table/index.js +1 -123
  55. package/dist/components/Tag/index.cjs +1 -123
  56. package/dist/components/Tag/index.d.cts +234 -2
  57. package/dist/components/Tag/index.d.ts +234 -2
  58. package/dist/components/Tag/index.js +1 -123
  59. package/dist/components/Tooltip/index.cjs +1 -123
  60. package/dist/components/Tooltip/index.d.cts +234 -2
  61. package/dist/components/Tooltip/index.d.ts +234 -2
  62. package/dist/components/Tooltip/index.js +1 -123
  63. package/dist/components/index.cjs +120 -123
  64. package/dist/components/index.d.cts +1 -1
  65. package/dist/components/index.d.ts +1 -1
  66. package/dist/components/index.js +120 -123
  67. package/dist/index.cjs +120 -123
  68. package/dist/index.d.cts +1 -1
  69. package/dist/index.d.ts +1 -1
  70. package/dist/index.js +120 -123
  71. package/dist/tokens/index.d.cts +1 -1
  72. package/dist/tokens/index.d.ts +1 -1
  73. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -5978,131 +5978,9 @@ var Alert = (props) => {
5978
5978
  Alert.displayName = "Alert";
5979
5979
  var Alert_default = Alert;
5980
5980
 
5981
- // src/tokens/colors.ts
5982
- var colors = {
5983
- xplat: {
5984
- red: {
5985
- 50: "#FFF0F0",
5986
- 100: "#FFDDDE",
5987
- 200: "#FFC1C2",
5988
- 300: "#FF9698",
5989
- 400: "#FF5A5D",
5990
- 500: "#FF272B",
5991
- 600: "#F80409",
5992
- 700: "#D40105",
5993
- 800: "#AE0609",
5994
- 900: "#900C0F"
5995
- },
5996
- green: {
5997
- 50: "#E5F6EA",
5998
- 100: "#C1E7CC",
5999
- 200: "#98D8AC",
6000
- 300: "#6CCA8B",
6001
- 400: "#47BE72",
6002
- 500: "#10B259",
6003
- 600: "#00A34F",
6004
- 700: "#009143",
6005
- 800: "#007F38",
6006
- 900: "#006024"
6007
- },
6008
- orange: {
6009
- 50: "#FFF8EC",
6010
- 100: "#FFF0D3",
6011
- 200: "#FFDDA5",
6012
- 300: "#FFC46D",
6013
- 400: "#FF9F32",
6014
- 500: "#FF820A",
6015
- 600: "#FF6900",
6016
- 700: "#CC4B02",
6017
- 800: "#A13A0B",
6018
- 900: "#82320C"
6019
- },
6020
- yellow: {
6021
- 50: "#FFFDE7",
6022
- 100: "#FFFAC1",
6023
- 200: "#FFF186",
6024
- 300: "#FFE041",
6025
- 400: "#FFCC0D",
6026
- 500: "#F0B100",
6027
- 600: "#D18800",
6028
- 700: "#A66002",
6029
- 800: "#894B0A",
6030
- 900: "#743D0F"
6031
- },
6032
- blue: {
6033
- 50: "#F1F4FD",
6034
- 100: "#DFE7FA",
6035
- 200: "#C5D4F8",
6036
- 300: "#9EB8F2",
6037
- 400: "#7093EA",
6038
- 500: "#4D6DE3",
6039
- 600: "#3950D7",
6040
- 700: "#303EC5",
6041
- 800: "#2D35A0",
6042
- 900: "#29317F"
6043
- },
6044
- lightblue: {
6045
- 50: "#EEFAFF",
6046
- 100: "#D9F4FF",
6047
- 200: "#BBEDFF",
6048
- 300: "#8DE3FF",
6049
- 400: "#57D0FF",
6050
- 500: "#30B6FF",
6051
- 600: "#1999F7",
6052
- 700: "#1280E3",
6053
- 800: "#1566B8",
6054
- 900: "#175791"
6055
- },
6056
- purple: {
6057
- 50: "#FBF6FE",
6058
- 100: "#F5EAFD",
6059
- 200: "#EDD8FC",
6060
- 300: "#E0BAF8",
6061
- 400: "#CD8DF3",
6062
- 500: "#B961EB",
6063
- 600: "#A541DC",
6064
- 700: "#9230C5",
6065
- 800: "#782B9E",
6066
- 900: "#62247F"
6067
- },
6068
- pink: {
6069
- 50: "#FFF4FE",
6070
- 100: "#FFE7FD",
6071
- 200: "#FFCFFA",
6072
- 300: "#FEA9F1",
6073
- 400: "#FD75E7",
6074
- 500: "#F553DA",
6075
- 600: "#D821B6",
6076
- 700: "#B31892",
6077
- 800: "#921676",
6078
- 900: "#781761"
6079
- },
6080
- neutral: {
6081
- 50: "#FAFAFA",
6082
- 100: "#F5F5F5",
6083
- 200: "#E5E5E5",
6084
- 300: "#D4D4D4",
6085
- 400: "#A1A1A1",
6086
- 500: "#737373",
6087
- 600: "#525252",
6088
- 700: "#404040",
6089
- 800: "#262626",
6090
- 900: "#171717"
6091
- },
6092
- black: "#000000",
6093
- white: "#FFFFFF"
6094
- },
6095
- test: {
6096
- default: "#ffffff"
6097
- }
6098
- };
6099
-
6100
5981
  // src/util/getColor.ts
6101
5982
  var getColorClass = (namespace, palette, shade) => {
6102
- const namespaceMap = colors[namespace];
6103
- const paletteMap = namespaceMap[palette];
6104
- const hasShade = paletteMap && typeof paletteMap === "object" && shade !== void 0 && shade in paletteMap;
6105
- return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
5983
+ return `${String(namespace)}-${String(palette)}${shade !== void 0 ? `-${String(shade)}` : ""}`;
6106
5984
  };
6107
5985
 
6108
5986
  // src/components/Avatar/Avatar.tsx
@@ -6288,6 +6166,125 @@ var CardTab_default = CardTab;
6288
6166
  // src/components/Chart/Chart.tsx
6289
6167
  var import_react4 = __toESM(require("react"), 1);
6290
6168
 
6169
+ // src/tokens/colors.ts
6170
+ var colors = {
6171
+ xplat: {
6172
+ red: {
6173
+ 50: "#FFF0F0",
6174
+ 100: "#FFDDDE",
6175
+ 200: "#FFC1C2",
6176
+ 300: "#FF9698",
6177
+ 400: "#FF5A5D",
6178
+ 500: "#FF272B",
6179
+ 600: "#F80409",
6180
+ 700: "#D40105",
6181
+ 800: "#AE0609",
6182
+ 900: "#900C0F"
6183
+ },
6184
+ green: {
6185
+ 50: "#E5F6EA",
6186
+ 100: "#C1E7CC",
6187
+ 200: "#98D8AC",
6188
+ 300: "#6CCA8B",
6189
+ 400: "#47BE72",
6190
+ 500: "#10B259",
6191
+ 600: "#00A34F",
6192
+ 700: "#009143",
6193
+ 800: "#007F38",
6194
+ 900: "#006024"
6195
+ },
6196
+ orange: {
6197
+ 50: "#FFF8EC",
6198
+ 100: "#FFF0D3",
6199
+ 200: "#FFDDA5",
6200
+ 300: "#FFC46D",
6201
+ 400: "#FF9F32",
6202
+ 500: "#FF820A",
6203
+ 600: "#FF6900",
6204
+ 700: "#CC4B02",
6205
+ 800: "#A13A0B",
6206
+ 900: "#82320C"
6207
+ },
6208
+ yellow: {
6209
+ 50: "#FFFDE7",
6210
+ 100: "#FFFAC1",
6211
+ 200: "#FFF186",
6212
+ 300: "#FFE041",
6213
+ 400: "#FFCC0D",
6214
+ 500: "#F0B100",
6215
+ 600: "#D18800",
6216
+ 700: "#A66002",
6217
+ 800: "#894B0A",
6218
+ 900: "#743D0F"
6219
+ },
6220
+ blue: {
6221
+ 50: "#F1F4FD",
6222
+ 100: "#DFE7FA",
6223
+ 200: "#C5D4F8",
6224
+ 300: "#9EB8F2",
6225
+ 400: "#7093EA",
6226
+ 500: "#4D6DE3",
6227
+ 600: "#3950D7",
6228
+ 700: "#303EC5",
6229
+ 800: "#2D35A0",
6230
+ 900: "#29317F"
6231
+ },
6232
+ lightblue: {
6233
+ 50: "#EEFAFF",
6234
+ 100: "#D9F4FF",
6235
+ 200: "#BBEDFF",
6236
+ 300: "#8DE3FF",
6237
+ 400: "#57D0FF",
6238
+ 500: "#30B6FF",
6239
+ 600: "#1999F7",
6240
+ 700: "#1280E3",
6241
+ 800: "#1566B8",
6242
+ 900: "#175791"
6243
+ },
6244
+ purple: {
6245
+ 50: "#FBF6FE",
6246
+ 100: "#F5EAFD",
6247
+ 200: "#EDD8FC",
6248
+ 300: "#E0BAF8",
6249
+ 400: "#CD8DF3",
6250
+ 500: "#B961EB",
6251
+ 600: "#A541DC",
6252
+ 700: "#9230C5",
6253
+ 800: "#782B9E",
6254
+ 900: "#62247F"
6255
+ },
6256
+ pink: {
6257
+ 50: "#FFF4FE",
6258
+ 100: "#FFE7FD",
6259
+ 200: "#FFCFFA",
6260
+ 300: "#FEA9F1",
6261
+ 400: "#FD75E7",
6262
+ 500: "#F553DA",
6263
+ 600: "#D821B6",
6264
+ 700: "#B31892",
6265
+ 800: "#921676",
6266
+ 900: "#781761"
6267
+ },
6268
+ neutral: {
6269
+ 50: "#FAFAFA",
6270
+ 100: "#F5F5F5",
6271
+ 200: "#E5E5E5",
6272
+ 300: "#D4D4D4",
6273
+ 400: "#A1A1A1",
6274
+ 500: "#737373",
6275
+ 600: "#525252",
6276
+ 700: "#404040",
6277
+ 800: "#262626",
6278
+ 900: "#171717"
6279
+ },
6280
+ black: "#000000",
6281
+ white: "#FFFFFF"
6282
+ },
6283
+ test: {
6284
+ default: "#ffffff"
6285
+ }
6286
+ };
6287
+
6291
6288
  // ../../node_modules/@kurkle/color/dist/color.esm.js
6292
6289
  function round(v) {
6293
6290
  return v + 0.5 | 0;
package/dist/index.d.cts CHANGED
@@ -42,7 +42,7 @@ export { B as BREAKPOINT_KEYS_ORDERED, a as BreakpointKey, b as GridColumnConfig
42
42
  export { Header } from './layout/Header/index.cjs';
43
43
  export { Layout } from './layout/Layout/index.cjs';
44
44
  export { SideBar, SideBarContext, useSideBarContext } from './layout/SideBar/index.cjs';
45
- export { d as ColorDepth, b as ColorName, a as ColorNamespace, e as ColorProps, C as CustomColors, c as colors } from './colors-DmMsWD7G.cjs';
45
+ export { e as ColorDepth, d as ColorName, b as ColorNamespace, f as ColorProps, C as CustomColors, a as CustomNamespaces, c as colors } from './colors-BNxEsOY3.cjs';
46
46
  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, 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, 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';
47
47
  import 'react';
48
48
  import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -42,7 +42,7 @@ export { B as BREAKPOINT_KEYS_ORDERED, a as BreakpointKey, b as GridColumnConfig
42
42
  export { Header } from './layout/Header/index.js';
43
43
  export { Layout } from './layout/Layout/index.js';
44
44
  export { SideBar, SideBarContext, useSideBarContext } from './layout/SideBar/index.js';
45
- export { d as ColorDepth, b as ColorName, a as ColorNamespace, e as ColorProps, C as CustomColors, c as colors } from './colors-DmMsWD7G.js';
45
+ export { e as ColorDepth, d as ColorName, b as ColorNamespace, f as ColorProps, C as CustomColors, a as CustomNamespaces, c as colors } from './colors-BNxEsOY3.js';
46
46
  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, 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, 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';
47
47
  import 'react';
48
48
  import 'react/jsx-runtime';
package/dist/index.js CHANGED
@@ -5596,131 +5596,9 @@ var Alert = (props) => {
5596
5596
  Alert.displayName = "Alert";
5597
5597
  var Alert_default = Alert;
5598
5598
 
5599
- // src/tokens/colors.ts
5600
- var colors = {
5601
- xplat: {
5602
- red: {
5603
- 50: "#FFF0F0",
5604
- 100: "#FFDDDE",
5605
- 200: "#FFC1C2",
5606
- 300: "#FF9698",
5607
- 400: "#FF5A5D",
5608
- 500: "#FF272B",
5609
- 600: "#F80409",
5610
- 700: "#D40105",
5611
- 800: "#AE0609",
5612
- 900: "#900C0F"
5613
- },
5614
- green: {
5615
- 50: "#E5F6EA",
5616
- 100: "#C1E7CC",
5617
- 200: "#98D8AC",
5618
- 300: "#6CCA8B",
5619
- 400: "#47BE72",
5620
- 500: "#10B259",
5621
- 600: "#00A34F",
5622
- 700: "#009143",
5623
- 800: "#007F38",
5624
- 900: "#006024"
5625
- },
5626
- orange: {
5627
- 50: "#FFF8EC",
5628
- 100: "#FFF0D3",
5629
- 200: "#FFDDA5",
5630
- 300: "#FFC46D",
5631
- 400: "#FF9F32",
5632
- 500: "#FF820A",
5633
- 600: "#FF6900",
5634
- 700: "#CC4B02",
5635
- 800: "#A13A0B",
5636
- 900: "#82320C"
5637
- },
5638
- yellow: {
5639
- 50: "#FFFDE7",
5640
- 100: "#FFFAC1",
5641
- 200: "#FFF186",
5642
- 300: "#FFE041",
5643
- 400: "#FFCC0D",
5644
- 500: "#F0B100",
5645
- 600: "#D18800",
5646
- 700: "#A66002",
5647
- 800: "#894B0A",
5648
- 900: "#743D0F"
5649
- },
5650
- blue: {
5651
- 50: "#F1F4FD",
5652
- 100: "#DFE7FA",
5653
- 200: "#C5D4F8",
5654
- 300: "#9EB8F2",
5655
- 400: "#7093EA",
5656
- 500: "#4D6DE3",
5657
- 600: "#3950D7",
5658
- 700: "#303EC5",
5659
- 800: "#2D35A0",
5660
- 900: "#29317F"
5661
- },
5662
- lightblue: {
5663
- 50: "#EEFAFF",
5664
- 100: "#D9F4FF",
5665
- 200: "#BBEDFF",
5666
- 300: "#8DE3FF",
5667
- 400: "#57D0FF",
5668
- 500: "#30B6FF",
5669
- 600: "#1999F7",
5670
- 700: "#1280E3",
5671
- 800: "#1566B8",
5672
- 900: "#175791"
5673
- },
5674
- purple: {
5675
- 50: "#FBF6FE",
5676
- 100: "#F5EAFD",
5677
- 200: "#EDD8FC",
5678
- 300: "#E0BAF8",
5679
- 400: "#CD8DF3",
5680
- 500: "#B961EB",
5681
- 600: "#A541DC",
5682
- 700: "#9230C5",
5683
- 800: "#782B9E",
5684
- 900: "#62247F"
5685
- },
5686
- pink: {
5687
- 50: "#FFF4FE",
5688
- 100: "#FFE7FD",
5689
- 200: "#FFCFFA",
5690
- 300: "#FEA9F1",
5691
- 400: "#FD75E7",
5692
- 500: "#F553DA",
5693
- 600: "#D821B6",
5694
- 700: "#B31892",
5695
- 800: "#921676",
5696
- 900: "#781761"
5697
- },
5698
- neutral: {
5699
- 50: "#FAFAFA",
5700
- 100: "#F5F5F5",
5701
- 200: "#E5E5E5",
5702
- 300: "#D4D4D4",
5703
- 400: "#A1A1A1",
5704
- 500: "#737373",
5705
- 600: "#525252",
5706
- 700: "#404040",
5707
- 800: "#262626",
5708
- 900: "#171717"
5709
- },
5710
- black: "#000000",
5711
- white: "#FFFFFF"
5712
- },
5713
- test: {
5714
- default: "#ffffff"
5715
- }
5716
- };
5717
-
5718
5599
  // src/util/getColor.ts
5719
5600
  var getColorClass = (namespace, palette, shade) => {
5720
- const namespaceMap = colors[namespace];
5721
- const paletteMap = namespaceMap[palette];
5722
- const hasShade = paletteMap && typeof paletteMap === "object" && shade !== void 0 && shade in paletteMap;
5723
- return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
5601
+ return `${String(namespace)}-${String(palette)}${shade !== void 0 ? `-${String(shade)}` : ""}`;
5724
5602
  };
5725
5603
 
5726
5604
  // src/components/Avatar/Avatar.tsx
@@ -5906,6 +5784,125 @@ var CardTab_default = CardTab;
5906
5784
  // src/components/Chart/Chart.tsx
5907
5785
  import React3 from "react";
5908
5786
 
5787
+ // src/tokens/colors.ts
5788
+ var colors = {
5789
+ xplat: {
5790
+ red: {
5791
+ 50: "#FFF0F0",
5792
+ 100: "#FFDDDE",
5793
+ 200: "#FFC1C2",
5794
+ 300: "#FF9698",
5795
+ 400: "#FF5A5D",
5796
+ 500: "#FF272B",
5797
+ 600: "#F80409",
5798
+ 700: "#D40105",
5799
+ 800: "#AE0609",
5800
+ 900: "#900C0F"
5801
+ },
5802
+ green: {
5803
+ 50: "#E5F6EA",
5804
+ 100: "#C1E7CC",
5805
+ 200: "#98D8AC",
5806
+ 300: "#6CCA8B",
5807
+ 400: "#47BE72",
5808
+ 500: "#10B259",
5809
+ 600: "#00A34F",
5810
+ 700: "#009143",
5811
+ 800: "#007F38",
5812
+ 900: "#006024"
5813
+ },
5814
+ orange: {
5815
+ 50: "#FFF8EC",
5816
+ 100: "#FFF0D3",
5817
+ 200: "#FFDDA5",
5818
+ 300: "#FFC46D",
5819
+ 400: "#FF9F32",
5820
+ 500: "#FF820A",
5821
+ 600: "#FF6900",
5822
+ 700: "#CC4B02",
5823
+ 800: "#A13A0B",
5824
+ 900: "#82320C"
5825
+ },
5826
+ yellow: {
5827
+ 50: "#FFFDE7",
5828
+ 100: "#FFFAC1",
5829
+ 200: "#FFF186",
5830
+ 300: "#FFE041",
5831
+ 400: "#FFCC0D",
5832
+ 500: "#F0B100",
5833
+ 600: "#D18800",
5834
+ 700: "#A66002",
5835
+ 800: "#894B0A",
5836
+ 900: "#743D0F"
5837
+ },
5838
+ blue: {
5839
+ 50: "#F1F4FD",
5840
+ 100: "#DFE7FA",
5841
+ 200: "#C5D4F8",
5842
+ 300: "#9EB8F2",
5843
+ 400: "#7093EA",
5844
+ 500: "#4D6DE3",
5845
+ 600: "#3950D7",
5846
+ 700: "#303EC5",
5847
+ 800: "#2D35A0",
5848
+ 900: "#29317F"
5849
+ },
5850
+ lightblue: {
5851
+ 50: "#EEFAFF",
5852
+ 100: "#D9F4FF",
5853
+ 200: "#BBEDFF",
5854
+ 300: "#8DE3FF",
5855
+ 400: "#57D0FF",
5856
+ 500: "#30B6FF",
5857
+ 600: "#1999F7",
5858
+ 700: "#1280E3",
5859
+ 800: "#1566B8",
5860
+ 900: "#175791"
5861
+ },
5862
+ purple: {
5863
+ 50: "#FBF6FE",
5864
+ 100: "#F5EAFD",
5865
+ 200: "#EDD8FC",
5866
+ 300: "#E0BAF8",
5867
+ 400: "#CD8DF3",
5868
+ 500: "#B961EB",
5869
+ 600: "#A541DC",
5870
+ 700: "#9230C5",
5871
+ 800: "#782B9E",
5872
+ 900: "#62247F"
5873
+ },
5874
+ pink: {
5875
+ 50: "#FFF4FE",
5876
+ 100: "#FFE7FD",
5877
+ 200: "#FFCFFA",
5878
+ 300: "#FEA9F1",
5879
+ 400: "#FD75E7",
5880
+ 500: "#F553DA",
5881
+ 600: "#D821B6",
5882
+ 700: "#B31892",
5883
+ 800: "#921676",
5884
+ 900: "#781761"
5885
+ },
5886
+ neutral: {
5887
+ 50: "#FAFAFA",
5888
+ 100: "#F5F5F5",
5889
+ 200: "#E5E5E5",
5890
+ 300: "#D4D4D4",
5891
+ 400: "#A1A1A1",
5892
+ 500: "#737373",
5893
+ 600: "#525252",
5894
+ 700: "#404040",
5895
+ 800: "#262626",
5896
+ 900: "#171717"
5897
+ },
5898
+ black: "#000000",
5899
+ white: "#FFFFFF"
5900
+ },
5901
+ test: {
5902
+ default: "#ffffff"
5903
+ }
5904
+ };
5905
+
5909
5906
  // ../../node_modules/@kurkle/color/dist/color.esm.js
5910
5907
  function round(v) {
5911
5908
  return v + 0.5 | 0;
@@ -1,5 +1,5 @@
1
1
  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';
2
- export { d as ColorDepth, b as ColorName, a as ColorNamespace, e as ColorProps, C as CustomColors, c as colors } from '../colors-DmMsWD7G.cjs';
2
+ export { e as ColorDepth, d as ColorName, b as ColorNamespace, f as ColorProps, C as CustomColors, a as CustomNamespaces, c as colors } from '../colors-BNxEsOY3.cjs';
3
3
  import React from 'react';
4
4
 
5
5
  declare const CopyIcon: React.FC;
@@ -1,5 +1,5 @@
1
1
  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';
2
- export { d as ColorDepth, b as ColorName, a as ColorNamespace, e as ColorProps, C as CustomColors, c as colors } from '../colors-DmMsWD7G.js';
2
+ export { e as ColorDepth, d as ColorName, b as ColorNamespace, f as ColorProps, C as CustomColors, a as CustomNamespaces, c as colors } from '../colors-BNxEsOY3.js';
3
3
  import React from 'react';
4
4
 
5
5
  declare const CopyIcon: React.FC;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@x-plat/design-system",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "XPLAT UI Design System",
5
5
  "author": "XPLAT WOONG",
6
6
  "main": "dist/index.cjs",