@kimdw-rtk/ui 0.0.8 → 0.0.9
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/_virtual/cjs.js +5 -0
- package/dist/_virtual/cssesc.js +5 -0
- package/dist/_virtual/jsx-runtime.js +5 -0
- package/dist/_virtual/jsx-runtime2.js +3 -0
- package/dist/_virtual/picocolors.js +5 -0
- package/dist/_virtual/picocolors2.js +3 -0
- package/dist/_virtual/react-jsx-runtime.development.js +3 -0
- package/dist/_virtual/react-jsx-runtime.production.min.js +3 -0
- package/dist/components/Accordion/Accordion.css.js +8 -5
- package/dist/components/Accordion/Accordion.js +13 -8
- package/dist/components/Accordion/AccordionContent.css.js +7 -4
- package/dist/components/Accordion/AccordionContent.js +18 -16
- package/dist/components/Accordion/AccordionContext.js +5 -2
- package/dist/components/Accordion/AccordionTrigger.css.js +7 -4
- package/dist/components/Accordion/AccordionTrigger.js +9 -7
- package/dist/components/Alert/index.js +49 -5
- package/dist/components/Box/Box.css.js +6 -3
- package/dist/components/Box/index.js +13 -7
- package/dist/components/Button/Button.css.js +11 -8
- package/dist/components/Button/index.js +57 -11
- package/dist/components/Card/Card.css.js +9 -6
- package/dist/components/Card/Card.js +14 -7
- package/dist/components/Card/CardContent.css.js +6 -3
- package/dist/components/Card/CardContent.js +12 -6
- package/dist/components/Card/CardInteraction.css.js +5 -2
- package/dist/components/Card/CardInteraction.js +53 -8
- package/dist/components/Card/CardThumbnail.css.js +5 -2
- package/dist/components/Card/CardThumbnail.js +12 -6
- package/dist/components/Chip/Chip.css.js +9 -6
- package/dist/components/Chip/Chip.js +14 -7
- package/dist/components/Confirm/index.js +48 -5
- package/dist/components/Dialog/Dialog.css.js +7 -4
- package/dist/components/Dialog/Dialog.js +51 -7
- package/dist/components/Dialog/DialogContent.css.js +8 -5
- package/dist/components/Dialog/DialogContent.js +51 -7
- package/dist/components/Dialog/DialogFooter.js +50 -6
- package/dist/components/Dialog/DialogHeader.css.js +7 -4
- package/dist/components/Dialog/DialogHeader.js +52 -8
- package/dist/components/Navigation/NavigationAside.css.js +5 -2
- package/dist/components/Navigation/NavigationAside.js +12 -7
- package/dist/components/Navigation/NavigationBar.css.js +8 -5
- package/dist/components/Navigation/NavigationBar.js +14 -7
- package/dist/components/Navigation/NavigationContainer.css.js +5 -2
- package/dist/components/Navigation/NavigationContainer.js +12 -6
- package/dist/components/Navigation/NavigationDrawer.css.js +9 -6
- package/dist/components/Navigation/NavigationDrawer.js +52 -8
- package/dist/components/Navigation/NavigationItem.css.js +9 -5
- package/dist/components/Navigation/NavigationItem.js +12 -6
- package/dist/components/Navigation/NavigationLogo.css.js +5 -2
- package/dist/components/Navigation/NavigationLogo.js +12 -6
- package/dist/components/Navigation/NavigationMenu.css.js +8 -5
- package/dist/components/Navigation/NavigationMenu.js +14 -7
- package/dist/components/Range/Range.css.js +12 -9
- package/dist/components/Range/Range.js +17 -11
- package/dist/components/ScrollArea/ScrollArea.css.js +10 -7
- package/dist/components/ScrollArea/ScrollArea.js +16 -10
- package/dist/components/Select/Select.css.js +6 -3
- package/dist/components/Select/Select.js +18 -12
- package/dist/components/Select/SelectContext.js +5 -2
- package/dist/components/Select/SelectOption.css.js +6 -3
- package/dist/components/Select/SelectOption.js +8 -6
- package/dist/components/Select/SelectOptionList.css.js +7 -4
- package/dist/components/Select/SelectOptionList.js +12 -8
- package/dist/components/Select/SelectTrigger.css.js +9 -6
- package/dist/components/Select/SelectTrigger.js +14 -9
- package/dist/components/Skeleton/Skeleton.css.js +7 -4
- package/dist/components/Skeleton/index.js +12 -6
- package/dist/components/Table/Table.css.js +6 -3
- package/dist/components/Table/Table.js +14 -7
- package/dist/components/Table/TableBody.js +11 -5
- package/dist/components/Table/TableCell.css.js +8 -5
- package/dist/components/Table/TableCell.js +13 -7
- package/dist/components/Table/TableHead.css.js +6 -3
- package/dist/components/Table/TableHead.js +13 -7
- package/dist/components/Table/TableHeader.js +11 -5
- package/dist/components/Table/TableRow.css.js +5 -2
- package/dist/components/Table/TableRow.js +12 -6
- package/dist/components/Tabs/Tabs.js +12 -7
- package/dist/components/Tabs/TabsContent.js +12 -7
- package/dist/components/Tabs/TabsList.css.js +6 -3
- package/dist/components/Tabs/TabsList.js +12 -6
- package/dist/components/Tabs/TabsProvider.js +5 -3
- package/dist/components/Tabs/TabsTrigger.css.js +6 -3
- package/dist/components/Tabs/TabsTrigger.js +13 -8
- package/dist/components/TextField/TextField.css.js +9 -6
- package/dist/components/TextField/index.js +14 -7
- package/dist/components/Toast/Toast.css.js +9 -6
- package/dist/components/Toast/index.js +54 -9
- package/dist/components/Typography/Typography.css.js +5 -2
- package/dist/components/Typography/index.js +13 -8
- package/dist/contexts/UIProvider.js +52 -6
- package/dist/hooks/useDialog/index.js +52 -7
- package/dist/hooks/useMouseScroll/index.js +4 -2
- package/dist/hooks/usePointerSlider/index.js +5 -3
- package/dist/hooks/useRipple/index.js +24 -22
- package/dist/hooks/useRipple/ripple.css.js +8 -5
- package/dist/hooks/useToast/ToastContainer.css.js +5 -2
- package/dist/hooks/useToast/ToastContainer.js +7 -4
- package/dist/hooks/useToast/ToastProvider.js +53 -10
- package/dist/hooks/useToast/index.js +5 -2
- package/dist/index.js +79 -8
- package/dist/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +55 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js +51 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js +12 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/transformCss-0dba36bf.esm.js +955 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js +390 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js +20 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/functionSerializer/dist/vanilla-extract-css-functionSerializer.esm.js +11 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js +22 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +37 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +111 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_recipes@0.5.7_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/recipes/dist/vanilla-extract-recipes.esm.js +43 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_sprinkles@1.6.5_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/sprinkles/dist/createSprinkles-74286718.esm.js +190 -0
- package/dist/node_modules/.pnpm/@vanilla-extract_sprinkles@1.6.5_@vanilla-extract_css@1.17.4_babel-plugin-macros@3.1.0_/node_modules/@vanilla-extract/sprinkles/dist/vanilla-extract-sprinkles.esm.js +146 -0
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +3 -0
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/parse.js +423 -0
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/types.js +28 -0
- package/dist/node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js +119 -0
- package/dist/node_modules/.pnpm/dedent@1.6.0_babel-plugin-macros@3.1.0/node_modules/dedent/dist/dedent.js +68 -0
- package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/diff.js +39 -0
- package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/utils.js +8 -0
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +142 -0
- package/dist/node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/Icon.js +45 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.js +30 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/defaultAttributes.js +20 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/align-justify.js +18 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/chevron-down.js +14 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/x.js +17 -0
- package/dist/node_modules/.pnpm/lucide-react@0.503.0_react@18.3.1/node_modules/lucide-react/dist/esm/shared/src/utils.js +28 -0
- package/dist/node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/media-query-parser.esm.js +1385 -0
- package/dist/node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js +101 -0
- package/dist/node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.js +86 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +1325 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +24 -0
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +19 -0
- package/dist/styles/globalStyle.css.js +5 -2
- package/dist/styles/layers.css.js +6 -3
- package/dist/styles/overlay.css.js +7 -4
- package/dist/styles/sprinkles.css.js +16 -9
- package/dist/styles/sx.js +7 -2
- package/dist/themes/darkTheme.css.js +5 -2
- package/dist/themes/lightTheme.css.js +5 -2
- package/dist/themes/theme.css.js +7 -4
- package/dist/tokens/scale/color.js +5 -3
- package/dist/tokens/semantic/breakpoint.js +4 -6
- package/dist/tokens/semantic/color.js +3 -1
- package/dist/tokens/semantic/spacing.js +3 -1
- package/dist/tokens/semantic/typography.js +3 -1
- package/dist/utils/sprinklesUtils.js +8 -3
- package/dist/utils/styleUtils.css.js +10 -5
- package/package.json +8 -3
- package/dist/components/Accordion/Accordion.spec.js +0 -5
- package/dist/components/Accordion/index.js +0 -3
- package/dist/components/Box/Box.spec.js +0 -5
- package/dist/components/Button/Button.spec.js +0 -19
- package/dist/components/Card/Card.spec.js +0 -16
- package/dist/components/Card/index.js +0 -4
- package/dist/components/Chip/Chip.spec.js +0 -5
- package/dist/components/Chip/index.js +0 -1
- package/dist/components/Dialog/Dialog.spec.js +0 -16
- package/dist/components/Dialog/DialogFooter.css.js +0 -15
- package/dist/components/Dialog/index.js +0 -4
- package/dist/components/Navigation/Navigation.spec.js +0 -11
- package/dist/components/Navigation/index.js +0 -7
- package/dist/components/Range/Range.spec.js +0 -5
- package/dist/components/Range/index.js +0 -1
- package/dist/components/ScrollArea/ScrollArea.spec.js +0 -5
- package/dist/components/ScrollArea/index.js +0 -1
- package/dist/components/Select/Select.spec.js +0 -35
- package/dist/components/Select/index.js +0 -2
- package/dist/components/Skeleton/Skeleton.spec.js +0 -5
- package/dist/components/Table/Table.spec.js +0 -10
- package/dist/components/Table/index.js +0 -6
- package/dist/components/Tabs/Tabs.spec.js +0 -22
- package/dist/components/Tabs/index.js +0 -4
- package/dist/components/TextField/TextField.spec.js +0 -5
- package/dist/components/Toast/Toast.spec.js +0 -5
- package/dist/components/Typography/Typography.spec.js +0 -28
- package/dist/components/index.js +0 -18
- package/dist/contexts/index.js +0 -1
- package/dist/hooks/index.js +0 -5
- package/dist/hooks/useDialog/useDialog.spec.js +0 -53
- package/dist/styles/index.js +0 -4
- package/dist/tests/uiTest.js +0 -36
- package/dist/themes/index.js +0 -3
- package/dist/tokens/index.js +0 -5
- package/dist/types/index.js +0 -1
- package/dist/types/ui.types.js +0 -1
- package/dist/utils/index.js +0 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// src/index.ts
|
|
2
|
+
var AhoCorasick = class {
|
|
3
|
+
constructor(keywords) {
|
|
4
|
+
const { failure, gotoFn, output } = this._buildTables(keywords);
|
|
5
|
+
this.gotoFn = gotoFn;
|
|
6
|
+
this.output = output;
|
|
7
|
+
this.failure = failure;
|
|
8
|
+
}
|
|
9
|
+
_buildTables(keywords) {
|
|
10
|
+
const gotoFn = {
|
|
11
|
+
0: {}
|
|
12
|
+
};
|
|
13
|
+
const output = {};
|
|
14
|
+
let state = 0;
|
|
15
|
+
for (const word of keywords) {
|
|
16
|
+
let curr = 0;
|
|
17
|
+
for (const l of word) {
|
|
18
|
+
if (gotoFn[curr] && l in gotoFn[curr]) {
|
|
19
|
+
curr = gotoFn[curr][l];
|
|
20
|
+
} else {
|
|
21
|
+
state++;
|
|
22
|
+
gotoFn[curr][l] = state;
|
|
23
|
+
gotoFn[state] = {};
|
|
24
|
+
curr = state;
|
|
25
|
+
output[state] = [];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
output[curr].push(word);
|
|
29
|
+
}
|
|
30
|
+
const failure = {};
|
|
31
|
+
const xs = [];
|
|
32
|
+
for (const l in gotoFn[0]) {
|
|
33
|
+
const state2 = gotoFn[0][l];
|
|
34
|
+
failure[state2] = 0;
|
|
35
|
+
xs.push(state2);
|
|
36
|
+
}
|
|
37
|
+
while (xs.length > 0) {
|
|
38
|
+
const r = xs.shift();
|
|
39
|
+
if (r !== void 0) {
|
|
40
|
+
for (const l in gotoFn[r]) {
|
|
41
|
+
const s = gotoFn[r][l];
|
|
42
|
+
xs.push(s);
|
|
43
|
+
let state2 = failure[r];
|
|
44
|
+
while (state2 > 0 && !(l in gotoFn[state2])) {
|
|
45
|
+
state2 = failure[state2];
|
|
46
|
+
}
|
|
47
|
+
if (l in gotoFn[state2]) {
|
|
48
|
+
const fs = gotoFn[state2][l];
|
|
49
|
+
failure[s] = fs;
|
|
50
|
+
output[s] = [...output[s], ...output[fs]];
|
|
51
|
+
} else {
|
|
52
|
+
failure[s] = 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
gotoFn,
|
|
59
|
+
output,
|
|
60
|
+
failure
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
search(str) {
|
|
64
|
+
let state = 0;
|
|
65
|
+
const results = [];
|
|
66
|
+
for (let i = 0; i < str.length; i++) {
|
|
67
|
+
const l = str[i];
|
|
68
|
+
while (state > 0 && !(l in this.gotoFn[state])) {
|
|
69
|
+
state = this.failure[state];
|
|
70
|
+
}
|
|
71
|
+
if (!(l in this.gotoFn[state])) {
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
state = this.gotoFn[state][l];
|
|
75
|
+
if (this.output[state].length > 0) {
|
|
76
|
+
const foundStrs = this.output[state];
|
|
77
|
+
results.push([i, foundStrs]);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return results;
|
|
81
|
+
}
|
|
82
|
+
match(str) {
|
|
83
|
+
let state = 0;
|
|
84
|
+
for (let i = 0; i < str.length; i++) {
|
|
85
|
+
const l = str[i];
|
|
86
|
+
while (state > 0 && !(l in this.gotoFn[state])) {
|
|
87
|
+
state = this.failure[state];
|
|
88
|
+
}
|
|
89
|
+
if (!(l in this.gotoFn[state])) {
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
state = this.gotoFn[state][l];
|
|
93
|
+
if (this.output[state].length > 0) {
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export { AhoCorasick as default };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { __module as picocolors } from '../../../../../_virtual/picocolors2.js';
|
|
2
|
+
|
|
3
|
+
var hasRequiredPicocolors;
|
|
4
|
+
|
|
5
|
+
function requirePicocolors () {
|
|
6
|
+
if (hasRequiredPicocolors) return picocolors.exports;
|
|
7
|
+
hasRequiredPicocolors = 1;
|
|
8
|
+
let p = process || {}, argv = p.argv || [], env = p.env || {};
|
|
9
|
+
let isColorSupported =
|
|
10
|
+
!(!!env.NO_COLOR || argv.includes("--no-color")) &&
|
|
11
|
+
(!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || ((p.stdout || {}).isTTY && env.TERM !== "dumb") || !!env.CI);
|
|
12
|
+
|
|
13
|
+
let formatter = (open, close, replace = open) =>
|
|
14
|
+
input => {
|
|
15
|
+
let string = "" + input, index = string.indexOf(close, open.length);
|
|
16
|
+
return ~index ? open + replaceClose(string, close, replace, index) + close : open + string + close
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
let replaceClose = (string, close, replace, index) => {
|
|
20
|
+
let result = "", cursor = 0;
|
|
21
|
+
do {
|
|
22
|
+
result += string.substring(cursor, index) + replace;
|
|
23
|
+
cursor = index + close.length;
|
|
24
|
+
index = string.indexOf(close, cursor);
|
|
25
|
+
} while (~index)
|
|
26
|
+
return result + string.substring(cursor)
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
let createColors = (enabled = isColorSupported) => {
|
|
30
|
+
let f = enabled ? formatter : () => String;
|
|
31
|
+
return {
|
|
32
|
+
isColorSupported: enabled,
|
|
33
|
+
reset: f("\x1b[0m", "\x1b[0m"),
|
|
34
|
+
bold: f("\x1b[1m", "\x1b[22m", "\x1b[22m\x1b[1m"),
|
|
35
|
+
dim: f("\x1b[2m", "\x1b[22m", "\x1b[22m\x1b[2m"),
|
|
36
|
+
italic: f("\x1b[3m", "\x1b[23m"),
|
|
37
|
+
underline: f("\x1b[4m", "\x1b[24m"),
|
|
38
|
+
inverse: f("\x1b[7m", "\x1b[27m"),
|
|
39
|
+
hidden: f("\x1b[8m", "\x1b[28m"),
|
|
40
|
+
strikethrough: f("\x1b[9m", "\x1b[29m"),
|
|
41
|
+
|
|
42
|
+
black: f("\x1b[30m", "\x1b[39m"),
|
|
43
|
+
red: f("\x1b[31m", "\x1b[39m"),
|
|
44
|
+
green: f("\x1b[32m", "\x1b[39m"),
|
|
45
|
+
yellow: f("\x1b[33m", "\x1b[39m"),
|
|
46
|
+
blue: f("\x1b[34m", "\x1b[39m"),
|
|
47
|
+
magenta: f("\x1b[35m", "\x1b[39m"),
|
|
48
|
+
cyan: f("\x1b[36m", "\x1b[39m"),
|
|
49
|
+
white: f("\x1b[37m", "\x1b[39m"),
|
|
50
|
+
gray: f("\x1b[90m", "\x1b[39m"),
|
|
51
|
+
|
|
52
|
+
bgBlack: f("\x1b[40m", "\x1b[49m"),
|
|
53
|
+
bgRed: f("\x1b[41m", "\x1b[49m"),
|
|
54
|
+
bgGreen: f("\x1b[42m", "\x1b[49m"),
|
|
55
|
+
bgYellow: f("\x1b[43m", "\x1b[49m"),
|
|
56
|
+
bgBlue: f("\x1b[44m", "\x1b[49m"),
|
|
57
|
+
bgMagenta: f("\x1b[45m", "\x1b[49m"),
|
|
58
|
+
bgCyan: f("\x1b[46m", "\x1b[49m"),
|
|
59
|
+
bgWhite: f("\x1b[47m", "\x1b[49m"),
|
|
60
|
+
|
|
61
|
+
blackBright: f("\x1b[90m", "\x1b[39m"),
|
|
62
|
+
redBright: f("\x1b[91m", "\x1b[39m"),
|
|
63
|
+
greenBright: f("\x1b[92m", "\x1b[39m"),
|
|
64
|
+
yellowBright: f("\x1b[93m", "\x1b[39m"),
|
|
65
|
+
blueBright: f("\x1b[94m", "\x1b[39m"),
|
|
66
|
+
magentaBright: f("\x1b[95m", "\x1b[39m"),
|
|
67
|
+
cyanBright: f("\x1b[96m", "\x1b[39m"),
|
|
68
|
+
whiteBright: f("\x1b[97m", "\x1b[39m"),
|
|
69
|
+
|
|
70
|
+
bgBlackBright: f("\x1b[100m", "\x1b[49m"),
|
|
71
|
+
bgRedBright: f("\x1b[101m", "\x1b[49m"),
|
|
72
|
+
bgGreenBright: f("\x1b[102m", "\x1b[49m"),
|
|
73
|
+
bgYellowBright: f("\x1b[103m", "\x1b[49m"),
|
|
74
|
+
bgBlueBright: f("\x1b[104m", "\x1b[49m"),
|
|
75
|
+
bgMagentaBright: f("\x1b[105m", "\x1b[49m"),
|
|
76
|
+
bgCyanBright: f("\x1b[106m", "\x1b[49m"),
|
|
77
|
+
bgWhiteBright: f("\x1b[107m", "\x1b[49m"),
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
picocolors.exports = createColors();
|
|
82
|
+
picocolors.exports.createColors = createColors;
|
|
83
|
+
return picocolors.exports;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export { requirePicocolors as __require };
|