@x-plat/design-system 0.2.4 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{colors-cxE7RsuF.d.cts → colors-BgzpjYfN.d.cts} +3 -6
- package/dist/{colors-cxE7RsuF.d.ts → colors-BgzpjYfN.d.ts} +3 -6
- package/dist/components/Avatar/index.cjs +2 -14
- package/dist/components/Avatar/index.d.cts +3 -235
- package/dist/components/Avatar/index.d.ts +3 -235
- package/dist/components/Avatar/index.js +2 -14
- package/dist/components/Badge/index.cjs +2 -14
- package/dist/components/Badge/index.d.cts +3 -235
- package/dist/components/Badge/index.d.ts +3 -235
- package/dist/components/Badge/index.js +2 -14
- package/dist/components/Button/index.cjs +2 -14
- package/dist/components/Button/index.d.cts +3 -235
- package/dist/components/Button/index.d.ts +3 -235
- package/dist/components/Button/index.js +2 -14
- package/dist/components/CheckBox/index.cjs +2 -14
- package/dist/components/CheckBox/index.d.cts +3 -235
- package/dist/components/CheckBox/index.d.ts +3 -235
- package/dist/components/CheckBox/index.js +2 -14
- package/dist/components/Chip/index.cjs +2 -14
- package/dist/components/Chip/index.d.cts +3 -235
- package/dist/components/Chip/index.d.ts +3 -235
- package/dist/components/Chip/index.js +2 -14
- package/dist/components/DatePicker/index.cjs +9 -161
- package/dist/components/DatePicker/index.d.cts +5 -469
- package/dist/components/DatePicker/index.d.ts +5 -469
- package/dist/components/DatePicker/index.js +9 -161
- package/dist/components/Pagination/index.cjs +2 -14
- package/dist/components/Pagination/index.d.cts +3 -235
- package/dist/components/Pagination/index.d.ts +3 -235
- package/dist/components/Pagination/index.js +2 -14
- package/dist/components/Progress/index.cjs +2 -14
- package/dist/components/Progress/index.d.cts +3 -235
- package/dist/components/Progress/index.d.ts +3 -235
- package/dist/components/Progress/index.js +2 -14
- package/dist/components/Radio/index.cjs +2 -14
- package/dist/components/Radio/index.d.cts +3 -235
- package/dist/components/Radio/index.d.ts +3 -235
- package/dist/components/Radio/index.js +2 -14
- package/dist/components/Spinner/index.cjs +2 -14
- package/dist/components/Spinner/index.d.cts +3 -235
- package/dist/components/Spinner/index.d.ts +3 -235
- package/dist/components/Spinner/index.js +2 -14
- package/dist/components/Steps/index.cjs +2 -14
- package/dist/components/Steps/index.d.cts +3 -235
- package/dist/components/Steps/index.d.ts +3 -235
- package/dist/components/Steps/index.js +2 -14
- package/dist/components/Swiper/index.cjs +257 -5939
- package/dist/components/Swiper/index.css +52 -211
- package/dist/components/Swiper/index.d.cts +35 -16
- package/dist/components/Swiper/index.d.ts +35 -16
- package/dist/components/Swiper/index.js +251 -5944
- package/dist/components/Switch/index.cjs +2 -14
- package/dist/components/Switch/index.d.cts +3 -235
- package/dist/components/Switch/index.d.ts +3 -235
- package/dist/components/Switch/index.js +2 -14
- package/dist/components/Table/index.cjs +2 -16
- package/dist/components/Table/index.d.cts +3 -235
- package/dist/components/Table/index.d.ts +3 -235
- package/dist/components/Table/index.js +2 -16
- package/dist/components/Tag/index.cjs +2 -14
- package/dist/components/Tag/index.d.cts +3 -235
- package/dist/components/Tag/index.d.ts +3 -235
- package/dist/components/Tag/index.js +2 -14
- package/dist/components/Tooltip/index.cjs +2 -14
- package/dist/components/Tooltip/index.d.cts +3 -238
- package/dist/components/Tooltip/index.d.ts +3 -238
- package/dist/components/Tooltip/index.js +2 -14
- package/dist/components/index.cjs +390 -251
- package/dist/components/index.css +71 -0
- package/dist/components/index.d.cts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +390 -252
- package/dist/index.cjs +414 -275
- package/dist/index.css +71 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +414 -276
- package/dist/tokens/index.d.cts +1 -1
- package/dist/tokens/index.d.ts +1 -1
- package/package.json +3 -9
|
@@ -12016,11 +12016,6 @@ var InputDatePicker_default = InputDatePicker;
|
|
|
12016
12016
|
// src/components/DatePicker/PopupPicker/index.tsx
|
|
12017
12017
|
import React9 from "react";
|
|
12018
12018
|
|
|
12019
|
-
// src/util/getColor.ts
|
|
12020
|
-
var getColorClass = (namespace, palette, shade) => {
|
|
12021
|
-
return `${String(namespace)}-${String(palette)}${shade !== void 0 ? `-${String(shade)}` : ""}`;
|
|
12022
|
-
};
|
|
12023
|
-
|
|
12024
12019
|
// src/components/Button/Button.tsx
|
|
12025
12020
|
import { jsx as jsx300 } from "react/jsx-runtime";
|
|
12026
12021
|
var Button = (props) => {
|
|
@@ -12028,19 +12023,12 @@ var Button = (props) => {
|
|
|
12028
12023
|
children,
|
|
12029
12024
|
type = "primary",
|
|
12030
12025
|
size: size4 = "md",
|
|
12031
|
-
|
|
12032
|
-
color = "black",
|
|
12033
|
-
colorDepth,
|
|
12034
|
-
colorToken,
|
|
12026
|
+
color = "xplat-black",
|
|
12035
12027
|
disabled,
|
|
12036
12028
|
className,
|
|
12037
12029
|
...rest
|
|
12038
12030
|
} = props;
|
|
12039
|
-
const colorClass =
|
|
12040
|
-
colorNamespace,
|
|
12041
|
-
color,
|
|
12042
|
-
colorDepth ?? 500
|
|
12043
|
-
);
|
|
12031
|
+
const colorClass = color;
|
|
12044
12032
|
return /* @__PURE__ */ jsx300(
|
|
12045
12033
|
"button",
|
|
12046
12034
|
{
|
|
@@ -12100,140 +12088,13 @@ var Modal = (props) => {
|
|
|
12100
12088
|
Modal.displayName = "Modal";
|
|
12101
12089
|
var Modal_default = Modal;
|
|
12102
12090
|
|
|
12103
|
-
// src/tokens/colors.ts
|
|
12104
|
-
var colors = {
|
|
12105
|
-
xplat: {
|
|
12106
|
-
red: {
|
|
12107
|
-
50: "#FFF0F0",
|
|
12108
|
-
100: "#FFDDDE",
|
|
12109
|
-
200: "#FFC1C2",
|
|
12110
|
-
300: "#FF9698",
|
|
12111
|
-
400: "#FF5A5D",
|
|
12112
|
-
500: "#FF272B",
|
|
12113
|
-
600: "#F80409",
|
|
12114
|
-
700: "#D40105",
|
|
12115
|
-
800: "#AE0609",
|
|
12116
|
-
900: "#900C0F"
|
|
12117
|
-
},
|
|
12118
|
-
green: {
|
|
12119
|
-
50: "#E5F6EA",
|
|
12120
|
-
100: "#C1E7CC",
|
|
12121
|
-
200: "#98D8AC",
|
|
12122
|
-
300: "#6CCA8B",
|
|
12123
|
-
400: "#47BE72",
|
|
12124
|
-
500: "#10B259",
|
|
12125
|
-
600: "#00A34F",
|
|
12126
|
-
700: "#009143",
|
|
12127
|
-
800: "#007F38",
|
|
12128
|
-
900: "#006024"
|
|
12129
|
-
},
|
|
12130
|
-
orange: {
|
|
12131
|
-
50: "#FFF8EC",
|
|
12132
|
-
100: "#FFF0D3",
|
|
12133
|
-
200: "#FFDDA5",
|
|
12134
|
-
300: "#FFC46D",
|
|
12135
|
-
400: "#FF9F32",
|
|
12136
|
-
500: "#FF820A",
|
|
12137
|
-
600: "#FF6900",
|
|
12138
|
-
700: "#CC4B02",
|
|
12139
|
-
800: "#A13A0B",
|
|
12140
|
-
900: "#82320C"
|
|
12141
|
-
},
|
|
12142
|
-
yellow: {
|
|
12143
|
-
50: "#FFFDE7",
|
|
12144
|
-
100: "#FFFAC1",
|
|
12145
|
-
200: "#FFF186",
|
|
12146
|
-
300: "#FFE041",
|
|
12147
|
-
400: "#FFCC0D",
|
|
12148
|
-
500: "#F0B100",
|
|
12149
|
-
600: "#D18800",
|
|
12150
|
-
700: "#A66002",
|
|
12151
|
-
800: "#894B0A",
|
|
12152
|
-
900: "#743D0F"
|
|
12153
|
-
},
|
|
12154
|
-
blue: {
|
|
12155
|
-
50: "#F1F4FD",
|
|
12156
|
-
100: "#DFE7FA",
|
|
12157
|
-
200: "#C5D4F8",
|
|
12158
|
-
300: "#9EB8F2",
|
|
12159
|
-
400: "#7093EA",
|
|
12160
|
-
500: "#4D6DE3",
|
|
12161
|
-
600: "#3950D7",
|
|
12162
|
-
700: "#303EC5",
|
|
12163
|
-
800: "#2D35A0",
|
|
12164
|
-
900: "#29317F"
|
|
12165
|
-
},
|
|
12166
|
-
lightblue: {
|
|
12167
|
-
50: "#EEFAFF",
|
|
12168
|
-
100: "#D9F4FF",
|
|
12169
|
-
200: "#BBEDFF",
|
|
12170
|
-
300: "#8DE3FF",
|
|
12171
|
-
400: "#57D0FF",
|
|
12172
|
-
500: "#30B6FF",
|
|
12173
|
-
600: "#1999F7",
|
|
12174
|
-
700: "#1280E3",
|
|
12175
|
-
800: "#1566B8",
|
|
12176
|
-
900: "#175791"
|
|
12177
|
-
},
|
|
12178
|
-
purple: {
|
|
12179
|
-
50: "#FBF6FE",
|
|
12180
|
-
100: "#F5EAFD",
|
|
12181
|
-
200: "#EDD8FC",
|
|
12182
|
-
300: "#E0BAF8",
|
|
12183
|
-
400: "#CD8DF3",
|
|
12184
|
-
500: "#B961EB",
|
|
12185
|
-
600: "#A541DC",
|
|
12186
|
-
700: "#9230C5",
|
|
12187
|
-
800: "#782B9E",
|
|
12188
|
-
900: "#62247F"
|
|
12189
|
-
},
|
|
12190
|
-
pink: {
|
|
12191
|
-
50: "#FFF4FE",
|
|
12192
|
-
100: "#FFE7FD",
|
|
12193
|
-
200: "#FFCFFA",
|
|
12194
|
-
300: "#FEA9F1",
|
|
12195
|
-
400: "#FD75E7",
|
|
12196
|
-
500: "#F553DA",
|
|
12197
|
-
600: "#D821B6",
|
|
12198
|
-
700: "#B31892",
|
|
12199
|
-
800: "#921676",
|
|
12200
|
-
900: "#781761"
|
|
12201
|
-
},
|
|
12202
|
-
neutral: {
|
|
12203
|
-
50: "#FAFAFA",
|
|
12204
|
-
100: "#F5F5F5",
|
|
12205
|
-
200: "#E5E5E5",
|
|
12206
|
-
300: "#D4D4D4",
|
|
12207
|
-
400: "#A1A1A1",
|
|
12208
|
-
500: "#737373",
|
|
12209
|
-
600: "#525252",
|
|
12210
|
-
700: "#404040",
|
|
12211
|
-
800: "#262626",
|
|
12212
|
-
900: "#171717"
|
|
12213
|
-
},
|
|
12214
|
-
black: "#000000",
|
|
12215
|
-
white: "#FFFFFF"
|
|
12216
|
-
},
|
|
12217
|
-
test: {
|
|
12218
|
-
default: "#ffffff"
|
|
12219
|
-
}
|
|
12220
|
-
};
|
|
12221
|
-
|
|
12222
12091
|
// src/components/DatePicker/SingleDatePicker/index.tsx
|
|
12223
12092
|
import { jsx as jsx302 } from "react/jsx-runtime";
|
|
12224
|
-
function getColorValue(ns, color, depth) {
|
|
12225
|
-
const nsColors = colors[ns];
|
|
12226
|
-
const colorEntry = nsColors[color];
|
|
12227
|
-
if (typeof colorEntry === "string") return colorEntry;
|
|
12228
|
-
return colorEntry[String(depth)] ?? "";
|
|
12229
|
-
}
|
|
12230
12093
|
var SingleDatePicker = (props) => {
|
|
12231
12094
|
const {
|
|
12232
12095
|
value,
|
|
12233
12096
|
onChange,
|
|
12234
|
-
|
|
12235
|
-
color = "blue",
|
|
12236
|
-
colorDepth,
|
|
12097
|
+
color = "xplat-blue-500",
|
|
12237
12098
|
highlightDates,
|
|
12238
12099
|
...rest
|
|
12239
12100
|
} = props;
|
|
@@ -12241,16 +12102,11 @@ var SingleDatePicker = (props) => {
|
|
|
12241
12102
|
if (Array.isArray(date)) return;
|
|
12242
12103
|
onChange?.(date);
|
|
12243
12104
|
};
|
|
12244
|
-
const activeColor = getColorValue(
|
|
12245
|
-
colorNamespace,
|
|
12246
|
-
color,
|
|
12247
|
-
colorDepth ?? 500
|
|
12248
|
-
);
|
|
12249
12105
|
return /* @__PURE__ */ jsx302(
|
|
12250
12106
|
"div",
|
|
12251
12107
|
{
|
|
12252
12108
|
className: "lib-xplat-datepicker",
|
|
12253
|
-
style: { "--datepicker-active-color":
|
|
12109
|
+
style: { "--datepicker-active-color": `var(--${color})` },
|
|
12254
12110
|
children: /* @__PURE__ */ jsx302(
|
|
12255
12111
|
DatePicker,
|
|
12256
12112
|
{
|
|
@@ -12308,13 +12164,12 @@ var PopupPicker = (props) => {
|
|
|
12308
12164
|
Button_default,
|
|
12309
12165
|
{
|
|
12310
12166
|
type: "secondary",
|
|
12311
|
-
color: "neutral",
|
|
12312
|
-
colorDepth: 400,
|
|
12167
|
+
color: "xplat-neutral-400",
|
|
12313
12168
|
onClick: handleClose,
|
|
12314
12169
|
children: "\uCDE8\uC18C"
|
|
12315
12170
|
}
|
|
12316
12171
|
),
|
|
12317
|
-
/* @__PURE__ */ jsx303(Button_default, { type: "primary", color: "blue", onClick: handleClose, children: "\uC801\uC6A9" })
|
|
12172
|
+
/* @__PURE__ */ jsx303(Button_default, { type: "primary", color: "xplat-blue-500", onClick: handleClose, children: "\uC801\uC6A9" })
|
|
12318
12173
|
] })
|
|
12319
12174
|
] }) })
|
|
12320
12175
|
] });
|
|
@@ -12344,19 +12199,12 @@ var RangePicker = (props) => {
|
|
|
12344
12199
|
onChange,
|
|
12345
12200
|
minDate,
|
|
12346
12201
|
maxDate,
|
|
12347
|
-
|
|
12348
|
-
color,
|
|
12349
|
-
colorDepth
|
|
12202
|
+
color
|
|
12350
12203
|
} = props;
|
|
12351
12204
|
const rangeDates = React10.useMemo(
|
|
12352
12205
|
() => getDatesBetween(startDate, endDate),
|
|
12353
12206
|
[startDate, endDate]
|
|
12354
12207
|
);
|
|
12355
|
-
const colorProps = {
|
|
12356
|
-
...colorNamespace !== void 0 && { colorNamespace },
|
|
12357
|
-
...color !== void 0 && { color },
|
|
12358
|
-
...colorDepth !== void 0 && { colorDepth }
|
|
12359
|
-
};
|
|
12360
12208
|
return /* @__PURE__ */ jsxs193("div", { className: "lib-xplat-range-datepicker", children: [
|
|
12361
12209
|
/* @__PURE__ */ jsxs193("div", { className: "lib-xplat-range-datepicker-from", children: [
|
|
12362
12210
|
/* @__PURE__ */ jsx304("span", { className: "lib-xplat-range-datepicker-label", children: "\uC2DC\uC791" }),
|
|
@@ -12368,7 +12216,7 @@ var RangePicker = (props) => {
|
|
|
12368
12216
|
minDate,
|
|
12369
12217
|
maxDate: endDate,
|
|
12370
12218
|
highlightDates: rangeDates,
|
|
12371
|
-
|
|
12219
|
+
color
|
|
12372
12220
|
}
|
|
12373
12221
|
)
|
|
12374
12222
|
] }),
|
|
@@ -12382,7 +12230,7 @@ var RangePicker = (props) => {
|
|
|
12382
12230
|
minDate: startDate,
|
|
12383
12231
|
maxDate,
|
|
12384
12232
|
highlightDates: rangeDates,
|
|
12385
|
-
|
|
12233
|
+
color
|
|
12386
12234
|
}
|
|
12387
12235
|
)
|
|
12388
12236
|
] })
|
|
@@ -24,11 +24,6 @@ __export(Pagination_exports, {
|
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(Pagination_exports);
|
|
26
26
|
|
|
27
|
-
// src/util/getColor.ts
|
|
28
|
-
var getColorClass = (namespace, palette, shade) => {
|
|
29
|
-
return `${String(namespace)}-${String(palette)}${shade !== void 0 ? `-${String(shade)}` : ""}`;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
27
|
// src/tokens/svg/action/CopyIcon.tsx
|
|
33
28
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
29
|
|
|
@@ -986,17 +981,10 @@ var Pagination = (props) => {
|
|
|
986
981
|
siblingCount = 1,
|
|
987
982
|
onChange,
|
|
988
983
|
size = "md",
|
|
989
|
-
|
|
990
|
-
color = "blue",
|
|
991
|
-
colorDepth,
|
|
992
|
-
colorToken,
|
|
984
|
+
color = "xplat-blue-500",
|
|
993
985
|
className
|
|
994
986
|
} = props;
|
|
995
|
-
const colorClass =
|
|
996
|
-
colorNamespace,
|
|
997
|
-
color,
|
|
998
|
-
colorDepth ?? 500
|
|
999
|
-
);
|
|
987
|
+
const colorClass = color;
|
|
1000
988
|
const totalPages = Math.max(1, Math.ceil(total / pageSize));
|
|
1001
989
|
const pages = getPageRange(current, totalPages, siblingCount);
|
|
1002
990
|
const handleClick = (page) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { g as ColorProps } from '../../colors-BgzpjYfN.cjs';
|
|
3
3
|
|
|
4
4
|
type PaginationSize = "sm" | "md" | "lg";
|
|
5
|
-
interface PaginationProps
|
|
5
|
+
interface PaginationProps extends ColorProps {
|
|
6
6
|
current: number;
|
|
7
7
|
total: number;
|
|
8
8
|
pageSize?: number;
|
|
@@ -12,239 +12,7 @@ interface PaginationProps<N extends ColorNamespace, C extends ColorName<N> = Col
|
|
|
12
12
|
className?: string;
|
|
13
13
|
}
|
|
14
14
|
declare const Pagination: {
|
|
15
|
-
|
|
16
|
-
readonly xplat: {
|
|
17
|
-
readonly red: {
|
|
18
|
-
readonly 50: "#FFF0F0";
|
|
19
|
-
readonly 100: "#FFDDDE";
|
|
20
|
-
readonly 200: "#FFC1C2";
|
|
21
|
-
readonly 300: "#FF9698";
|
|
22
|
-
readonly 400: "#FF5A5D";
|
|
23
|
-
readonly 500: "#FF272B";
|
|
24
|
-
readonly 600: "#F80409";
|
|
25
|
-
readonly 700: "#D40105";
|
|
26
|
-
readonly 800: "#AE0609";
|
|
27
|
-
readonly 900: "#900C0F";
|
|
28
|
-
};
|
|
29
|
-
readonly green: {
|
|
30
|
-
readonly 50: "#E5F6EA";
|
|
31
|
-
readonly 100: "#C1E7CC";
|
|
32
|
-
readonly 200: "#98D8AC";
|
|
33
|
-
readonly 300: "#6CCA8B";
|
|
34
|
-
readonly 400: "#47BE72";
|
|
35
|
-
readonly 500: "#10B259";
|
|
36
|
-
readonly 600: "#00A34F";
|
|
37
|
-
readonly 700: "#009143";
|
|
38
|
-
readonly 800: "#007F38";
|
|
39
|
-
readonly 900: "#006024";
|
|
40
|
-
};
|
|
41
|
-
readonly orange: {
|
|
42
|
-
readonly 50: "#FFF8EC";
|
|
43
|
-
readonly 100: "#FFF0D3";
|
|
44
|
-
readonly 200: "#FFDDA5";
|
|
45
|
-
readonly 300: "#FFC46D";
|
|
46
|
-
readonly 400: "#FF9F32";
|
|
47
|
-
readonly 500: "#FF820A";
|
|
48
|
-
readonly 600: "#FF6900";
|
|
49
|
-
readonly 700: "#CC4B02";
|
|
50
|
-
readonly 800: "#A13A0B";
|
|
51
|
-
readonly 900: "#82320C";
|
|
52
|
-
};
|
|
53
|
-
readonly yellow: {
|
|
54
|
-
readonly 50: "#FFFDE7";
|
|
55
|
-
readonly 100: "#FFFAC1";
|
|
56
|
-
readonly 200: "#FFF186";
|
|
57
|
-
readonly 300: "#FFE041";
|
|
58
|
-
readonly 400: "#FFCC0D";
|
|
59
|
-
readonly 500: "#F0B100";
|
|
60
|
-
readonly 600: "#D18800";
|
|
61
|
-
readonly 700: "#A66002";
|
|
62
|
-
readonly 800: "#894B0A";
|
|
63
|
-
readonly 900: "#743D0F";
|
|
64
|
-
};
|
|
65
|
-
readonly blue: {
|
|
66
|
-
readonly 50: "#F1F4FD";
|
|
67
|
-
readonly 100: "#DFE7FA";
|
|
68
|
-
readonly 200: "#C5D4F8";
|
|
69
|
-
readonly 300: "#9EB8F2";
|
|
70
|
-
readonly 400: "#7093EA";
|
|
71
|
-
readonly 500: "#4D6DE3";
|
|
72
|
-
readonly 600: "#3950D7";
|
|
73
|
-
readonly 700: "#303EC5";
|
|
74
|
-
readonly 800: "#2D35A0";
|
|
75
|
-
readonly 900: "#29317F";
|
|
76
|
-
};
|
|
77
|
-
readonly lightblue: {
|
|
78
|
-
readonly 50: "#EEFAFF";
|
|
79
|
-
readonly 100: "#D9F4FF";
|
|
80
|
-
readonly 200: "#BBEDFF";
|
|
81
|
-
readonly 300: "#8DE3FF";
|
|
82
|
-
readonly 400: "#57D0FF";
|
|
83
|
-
readonly 500: "#30B6FF";
|
|
84
|
-
readonly 600: "#1999F7";
|
|
85
|
-
readonly 700: "#1280E3";
|
|
86
|
-
readonly 800: "#1566B8";
|
|
87
|
-
readonly 900: "#175791";
|
|
88
|
-
};
|
|
89
|
-
readonly purple: {
|
|
90
|
-
readonly 50: "#FBF6FE";
|
|
91
|
-
readonly 100: "#F5EAFD";
|
|
92
|
-
readonly 200: "#EDD8FC";
|
|
93
|
-
readonly 300: "#E0BAF8";
|
|
94
|
-
readonly 400: "#CD8DF3";
|
|
95
|
-
readonly 500: "#B961EB";
|
|
96
|
-
readonly 600: "#A541DC";
|
|
97
|
-
readonly 700: "#9230C5";
|
|
98
|
-
readonly 800: "#782B9E";
|
|
99
|
-
readonly 900: "#62247F";
|
|
100
|
-
};
|
|
101
|
-
readonly pink: {
|
|
102
|
-
readonly 50: "#FFF4FE";
|
|
103
|
-
readonly 100: "#FFE7FD";
|
|
104
|
-
readonly 200: "#FFCFFA";
|
|
105
|
-
readonly 300: "#FEA9F1";
|
|
106
|
-
readonly 400: "#FD75E7";
|
|
107
|
-
readonly 500: "#F553DA";
|
|
108
|
-
readonly 600: "#D821B6";
|
|
109
|
-
readonly 700: "#B31892";
|
|
110
|
-
readonly 800: "#921676";
|
|
111
|
-
readonly 900: "#781761";
|
|
112
|
-
};
|
|
113
|
-
readonly neutral: {
|
|
114
|
-
readonly 50: "#FAFAFA";
|
|
115
|
-
readonly 100: "#F5F5F5";
|
|
116
|
-
readonly 200: "#E5E5E5";
|
|
117
|
-
readonly 300: "#D4D4D4";
|
|
118
|
-
readonly 400: "#A1A1A1";
|
|
119
|
-
readonly 500: "#737373";
|
|
120
|
-
readonly 600: "#525252";
|
|
121
|
-
readonly 700: "#404040";
|
|
122
|
-
readonly 800: "#262626";
|
|
123
|
-
readonly 900: "#171717";
|
|
124
|
-
};
|
|
125
|
-
readonly black: "#000000";
|
|
126
|
-
readonly white: "#FFFFFF";
|
|
127
|
-
};
|
|
128
|
-
readonly test: {
|
|
129
|
-
readonly default: "#ffffff";
|
|
130
|
-
};
|
|
131
|
-
}[N] & CustomNamespaces[N] & (N extends "xplat" ? CustomColors : {}) : {
|
|
132
|
-
readonly xplat: {
|
|
133
|
-
readonly red: {
|
|
134
|
-
readonly 50: "#FFF0F0";
|
|
135
|
-
readonly 100: "#FFDDDE";
|
|
136
|
-
readonly 200: "#FFC1C2";
|
|
137
|
-
readonly 300: "#FF9698";
|
|
138
|
-
readonly 400: "#FF5A5D";
|
|
139
|
-
readonly 500: "#FF272B";
|
|
140
|
-
readonly 600: "#F80409";
|
|
141
|
-
readonly 700: "#D40105";
|
|
142
|
-
readonly 800: "#AE0609";
|
|
143
|
-
readonly 900: "#900C0F";
|
|
144
|
-
};
|
|
145
|
-
readonly green: {
|
|
146
|
-
readonly 50: "#E5F6EA";
|
|
147
|
-
readonly 100: "#C1E7CC";
|
|
148
|
-
readonly 200: "#98D8AC";
|
|
149
|
-
readonly 300: "#6CCA8B";
|
|
150
|
-
readonly 400: "#47BE72";
|
|
151
|
-
readonly 500: "#10B259";
|
|
152
|
-
readonly 600: "#00A34F";
|
|
153
|
-
readonly 700: "#009143";
|
|
154
|
-
readonly 800: "#007F38";
|
|
155
|
-
readonly 900: "#006024";
|
|
156
|
-
};
|
|
157
|
-
readonly orange: {
|
|
158
|
-
readonly 50: "#FFF8EC";
|
|
159
|
-
readonly 100: "#FFF0D3";
|
|
160
|
-
readonly 200: "#FFDDA5";
|
|
161
|
-
readonly 300: "#FFC46D";
|
|
162
|
-
readonly 400: "#FF9F32";
|
|
163
|
-
readonly 500: "#FF820A";
|
|
164
|
-
readonly 600: "#FF6900";
|
|
165
|
-
readonly 700: "#CC4B02";
|
|
166
|
-
readonly 800: "#A13A0B";
|
|
167
|
-
readonly 900: "#82320C";
|
|
168
|
-
};
|
|
169
|
-
readonly yellow: {
|
|
170
|
-
readonly 50: "#FFFDE7";
|
|
171
|
-
readonly 100: "#FFFAC1";
|
|
172
|
-
readonly 200: "#FFF186";
|
|
173
|
-
readonly 300: "#FFE041";
|
|
174
|
-
readonly 400: "#FFCC0D";
|
|
175
|
-
readonly 500: "#F0B100";
|
|
176
|
-
readonly 600: "#D18800";
|
|
177
|
-
readonly 700: "#A66002";
|
|
178
|
-
readonly 800: "#894B0A";
|
|
179
|
-
readonly 900: "#743D0F";
|
|
180
|
-
};
|
|
181
|
-
readonly blue: {
|
|
182
|
-
readonly 50: "#F1F4FD";
|
|
183
|
-
readonly 100: "#DFE7FA";
|
|
184
|
-
readonly 200: "#C5D4F8";
|
|
185
|
-
readonly 300: "#9EB8F2";
|
|
186
|
-
readonly 400: "#7093EA";
|
|
187
|
-
readonly 500: "#4D6DE3";
|
|
188
|
-
readonly 600: "#3950D7";
|
|
189
|
-
readonly 700: "#303EC5";
|
|
190
|
-
readonly 800: "#2D35A0";
|
|
191
|
-
readonly 900: "#29317F";
|
|
192
|
-
};
|
|
193
|
-
readonly lightblue: {
|
|
194
|
-
readonly 50: "#EEFAFF";
|
|
195
|
-
readonly 100: "#D9F4FF";
|
|
196
|
-
readonly 200: "#BBEDFF";
|
|
197
|
-
readonly 300: "#8DE3FF";
|
|
198
|
-
readonly 400: "#57D0FF";
|
|
199
|
-
readonly 500: "#30B6FF";
|
|
200
|
-
readonly 600: "#1999F7";
|
|
201
|
-
readonly 700: "#1280E3";
|
|
202
|
-
readonly 800: "#1566B8";
|
|
203
|
-
readonly 900: "#175791";
|
|
204
|
-
};
|
|
205
|
-
readonly purple: {
|
|
206
|
-
readonly 50: "#FBF6FE";
|
|
207
|
-
readonly 100: "#F5EAFD";
|
|
208
|
-
readonly 200: "#EDD8FC";
|
|
209
|
-
readonly 300: "#E0BAF8";
|
|
210
|
-
readonly 400: "#CD8DF3";
|
|
211
|
-
readonly 500: "#B961EB";
|
|
212
|
-
readonly 600: "#A541DC";
|
|
213
|
-
readonly 700: "#9230C5";
|
|
214
|
-
readonly 800: "#782B9E";
|
|
215
|
-
readonly 900: "#62247F";
|
|
216
|
-
};
|
|
217
|
-
readonly pink: {
|
|
218
|
-
readonly 50: "#FFF4FE";
|
|
219
|
-
readonly 100: "#FFE7FD";
|
|
220
|
-
readonly 200: "#FFCFFA";
|
|
221
|
-
readonly 300: "#FEA9F1";
|
|
222
|
-
readonly 400: "#FD75E7";
|
|
223
|
-
readonly 500: "#F553DA";
|
|
224
|
-
readonly 600: "#D821B6";
|
|
225
|
-
readonly 700: "#B31892";
|
|
226
|
-
readonly 800: "#921676";
|
|
227
|
-
readonly 900: "#781761";
|
|
228
|
-
};
|
|
229
|
-
readonly neutral: {
|
|
230
|
-
readonly 50: "#FAFAFA";
|
|
231
|
-
readonly 100: "#F5F5F5";
|
|
232
|
-
readonly 200: "#E5E5E5";
|
|
233
|
-
readonly 300: "#D4D4D4";
|
|
234
|
-
readonly 400: "#A1A1A1";
|
|
235
|
-
readonly 500: "#737373";
|
|
236
|
-
readonly 600: "#525252";
|
|
237
|
-
readonly 700: "#404040";
|
|
238
|
-
readonly 800: "#262626";
|
|
239
|
-
readonly 900: "#171717";
|
|
240
|
-
};
|
|
241
|
-
readonly black: "#000000";
|
|
242
|
-
readonly white: "#FFFFFF";
|
|
243
|
-
};
|
|
244
|
-
readonly test: {
|
|
245
|
-
readonly default: "#ffffff";
|
|
246
|
-
};
|
|
247
|
-
}[N] & (N extends "xplat" ? CustomColors : {}) : N extends never ? CustomNamespaces[N] : {})>(props: PaginationProps<N, C>): react_jsx_runtime.JSX.Element;
|
|
15
|
+
(props: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
248
16
|
displayName: string;
|
|
249
17
|
};
|
|
250
18
|
|