@max-ts/svelte 1.0.3 → 1.0.6
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/assets/{styles.css.ts.vanilla-CRRIM3FB.css → styles.css.ts.vanilla-BTOQ-HsW.css} +2 -2
- package/dist/assets/styles.css.ts.vanilla-CLnCzIMF.css +8 -0
- package/dist/components/Accordion/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Accordion/Trigger/Trigger.svelte.d.ts +1 -1
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Alert/Alert.svelte.d.ts +1 -1
- package/dist/components/Alert/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Alert/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Alert/index.d.ts +2 -2
- package/dist/components/Calendar/Calendar.svelte.d.ts +2 -18
- package/dist/components/Calendar/Month/Month.svelte.d.ts +1 -1
- package/dist/components/Calendar/Months/Months.svelte.d.ts +1 -1
- package/dist/components/Calendar/Nav/Nav.svelte.d.ts +1 -1
- package/dist/components/Calendar/NextButton/NextButton.svelte.d.ts +1 -1
- package/dist/components/Calendar/PrevButton/PrevButton.svelte.d.ts +1 -1
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Calendar/types.d.ts +17 -0
- package/dist/components/Card/Action/Action.svelte.d.ts +1 -1
- package/dist/components/Card/Card.svelte.d.ts +1 -1
- package/dist/components/Card/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Card/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Card/Footer/Footer.svelte.d.ts +1 -1
- package/dist/components/Card/Header/Header.svelte.d.ts +1 -1
- package/dist/components/Card/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Card/index.d.ts +7 -7
- package/dist/components/Checkbox/index.d.ts +1 -2
- package/dist/components/Checkbox/styles.css.js +1 -1
- package/dist/components/ContentState/ContentState.js +109 -0
- package/dist/components/ContentState/ContentState.svelte.d.ts +4 -0
- package/dist/components/ContentState/index.d.ts +2 -0
- package/dist/components/ContentState/styles.css.d.ts +4 -0
- package/dist/components/ContentState/styles.css.js +8 -0
- package/dist/components/ContentState/types.d.ts +55 -0
- package/dist/components/DataGrid/Cell/Cell.js +1 -1
- package/dist/components/DropdownMenu/CheckboxItem/CheckboxItem.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/Content/Content.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/Label/Label.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/Shortcut/Shortcut.svelte.d.ts +1 -1
- package/dist/components/DropdownMenu/index.d.ts +19 -126
- package/dist/components/DropdownMenu/types.d.ts +3 -0
- package/dist/components/Field/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Field/Description/Description.svelte.d.ts +1 -1
- package/dist/components/Field/Field.svelte.d.ts +1 -1
- package/dist/components/Field/FieldError/FieldError.svelte.d.ts +1 -1
- package/dist/components/Field/FieldSet/FieldSet.svelte.d.ts +1 -1
- package/dist/components/Field/Group/Group.svelte.d.ts +1 -1
- package/dist/components/Field/Label/Label.js +1 -1
- package/dist/components/Field/Label/Label.svelte.d.ts +1 -1
- package/dist/components/Field/Legend/Legend.svelte.d.ts +1 -1
- package/dist/components/Field/Separator/Separator.js +1 -1
- package/dist/components/Field/Separator/Separator.svelte.d.ts +2 -2
- package/dist/components/Field/Title/Title.svelte.d.ts +1 -1
- package/dist/components/Field/index.d.ts +5 -5
- package/dist/components/Field/types.d.ts +1 -1
- package/dist/components/Input/types.d.ts +1 -1
- package/dist/components/Select/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Select/Label/Label.svelte.d.ts +1 -1
- package/dist/components/Select/Trigger/Trigger.svelte.d.ts +1 -1
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Tooltip/Content/Content.svelte.d.ts +1 -1
- package/dist/components/Typography/styles.css.d.ts +1 -1
- package/dist/components/index.d.ts +20 -19
- package/dist/components.d.ts +56 -0
- package/dist/components.js +39 -0
- package/dist/stories/Accordion.stories.svelte.d.ts +0 -1
- package/dist/stories/Alert.stories.svelte.d.ts +1 -1
- package/dist/stories/Calendar.stories.svelte.d.ts +1 -1
- package/dist/stories/Card.stories.svelte.d.ts +1 -1
- package/dist/stories/CircularProgress.stories.svelte.d.ts +0 -1
- package/dist/stories/DataGrid.stories.svelte.d.ts +1 -1
- package/dist/stories/DropdownMenu.stories.svelte.d.ts +1 -1
- package/dist/stories/Field.stories.svelte.d.ts +1 -1
- package/dist/stories/Input.stories.svelte.d.ts +0 -1
- package/dist/stories/Label.stories.svelte.d.ts +1 -1
- package/dist/stories/Select.stories.svelte.d.ts +1 -1
- package/dist/stories/Tooltip.stories.svelte.d.ts +1 -1
- package/dist/stories/Typography.stories.svelte.d.ts +0 -1
- package/dist/{styles/theme.css.d.ts → theme.css.d.ts} +1 -0
- package/dist/theme.d.ts +91 -0
- package/dist/{styles/theme.css.js → theme.js} +2 -2
- package/dist/{styles/types.d.ts → types.d.ts} +0 -1
- package/dist/{styles/utils.d.ts → utils.d.ts} +1 -3
- package/dist/{styles/utils.js → utils.js} +2 -2
- package/package.json +115 -9
- package/dist/_virtual/rolldown_runtime.js +0 -29
- package/dist/components/DropdownMenu/index.js +0 -41
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -24
- package/dist/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -24
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.browser.esm.js +0 -43
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-8e47dbd7.browser.esm.js +0 -8
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/dist/transformCss-20240126.browser.esm.js +0 -767
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.browser.esm.js +0 -297
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.browser.esm.js +0 -18
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js +0 -19
- package/dist/node_modules/.pnpm/@vanilla-extract_private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +0 -29
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/parse.js +0 -314
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/types.js +0 -29
- package/dist/node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js +0 -67
- package/dist/node_modules/.pnpm/dedent@1.7.1/node_modules/dedent/dist/dedent.js +0 -104
- package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/diff.js +0 -29
- package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/utils.js +0 -10
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +0 -88
- package/dist/node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js +0 -1155
- package/dist/node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/media-query-parser.esm.js +0 -940
- package/dist/node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js +0 -81
- package/dist/node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.browser.js +0 -59
- package/dist/styles/index.d.ts +0 -4
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
//#region node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js
|
|
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 = { 0: {} };
|
|
11
|
-
const output = {};
|
|
12
|
-
let state = 0;
|
|
13
|
-
for (const word of keywords) {
|
|
14
|
-
let curr = 0;
|
|
15
|
-
for (const l of word) if (gotoFn[curr] && l in gotoFn[curr]) curr = gotoFn[curr][l];
|
|
16
|
-
else {
|
|
17
|
-
state++;
|
|
18
|
-
gotoFn[curr][l] = state;
|
|
19
|
-
gotoFn[state] = {};
|
|
20
|
-
curr = state;
|
|
21
|
-
output[state] = [];
|
|
22
|
-
}
|
|
23
|
-
output[curr].push(word);
|
|
24
|
-
}
|
|
25
|
-
const failure = {};
|
|
26
|
-
const xs = [];
|
|
27
|
-
for (const l in gotoFn[0]) {
|
|
28
|
-
const state2 = gotoFn[0][l];
|
|
29
|
-
failure[state2] = 0;
|
|
30
|
-
xs.push(state2);
|
|
31
|
-
}
|
|
32
|
-
while (xs.length > 0) {
|
|
33
|
-
const r = xs.shift();
|
|
34
|
-
if (r !== void 0) for (const l in gotoFn[r]) {
|
|
35
|
-
const s = gotoFn[r][l];
|
|
36
|
-
xs.push(s);
|
|
37
|
-
let state2 = failure[r];
|
|
38
|
-
while (state2 > 0 && !(l in gotoFn[state2])) state2 = failure[state2];
|
|
39
|
-
if (l in gotoFn[state2]) {
|
|
40
|
-
const fs = gotoFn[state2][l];
|
|
41
|
-
failure[s] = fs;
|
|
42
|
-
output[s] = [...output[s], ...output[fs]];
|
|
43
|
-
} else failure[s] = 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
gotoFn,
|
|
48
|
-
output,
|
|
49
|
-
failure
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
search(str) {
|
|
53
|
-
let state = 0;
|
|
54
|
-
const results = [];
|
|
55
|
-
for (let i = 0; i < str.length; i++) {
|
|
56
|
-
const l = str[i];
|
|
57
|
-
while (state > 0 && !(l in this.gotoFn[state])) state = this.failure[state];
|
|
58
|
-
if (!(l in this.gotoFn[state])) continue;
|
|
59
|
-
state = this.gotoFn[state][l];
|
|
60
|
-
if (this.output[state].length > 0) {
|
|
61
|
-
const foundStrs = this.output[state];
|
|
62
|
-
results.push([i, foundStrs]);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return results;
|
|
66
|
-
}
|
|
67
|
-
match(str) {
|
|
68
|
-
let state = 0;
|
|
69
|
-
for (let i = 0; i < str.length; i++) {
|
|
70
|
-
const l = str[i];
|
|
71
|
-
while (state > 0 && !(l in this.gotoFn[state])) state = this.failure[state];
|
|
72
|
-
if (!(l in this.gotoFn[state])) continue;
|
|
73
|
-
state = this.gotoFn[state][l];
|
|
74
|
-
if (this.output[state].length > 0) return true;
|
|
75
|
-
}
|
|
76
|
-
return false;
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
//#endregion
|
|
81
|
-
export { AhoCorasick };
|
package/dist/node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.browser.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { __commonJSMin } from "../../../../../_virtual/rolldown_runtime.js";
|
|
2
|
-
|
|
3
|
-
//#region node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.browser.js
|
|
4
|
-
var require_picocolors_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5
|
-
var x = String;
|
|
6
|
-
var create = function() {
|
|
7
|
-
return {
|
|
8
|
-
isColorSupported: false,
|
|
9
|
-
reset: x,
|
|
10
|
-
bold: x,
|
|
11
|
-
dim: x,
|
|
12
|
-
italic: x,
|
|
13
|
-
underline: x,
|
|
14
|
-
inverse: x,
|
|
15
|
-
hidden: x,
|
|
16
|
-
strikethrough: x,
|
|
17
|
-
black: x,
|
|
18
|
-
red: x,
|
|
19
|
-
green: x,
|
|
20
|
-
yellow: x,
|
|
21
|
-
blue: x,
|
|
22
|
-
magenta: x,
|
|
23
|
-
cyan: x,
|
|
24
|
-
white: x,
|
|
25
|
-
gray: x,
|
|
26
|
-
bgBlack: x,
|
|
27
|
-
bgRed: x,
|
|
28
|
-
bgGreen: x,
|
|
29
|
-
bgYellow: x,
|
|
30
|
-
bgBlue: x,
|
|
31
|
-
bgMagenta: x,
|
|
32
|
-
bgCyan: x,
|
|
33
|
-
bgWhite: x,
|
|
34
|
-
blackBright: x,
|
|
35
|
-
redBright: x,
|
|
36
|
-
greenBright: x,
|
|
37
|
-
yellowBright: x,
|
|
38
|
-
blueBright: x,
|
|
39
|
-
magentaBright: x,
|
|
40
|
-
cyanBright: x,
|
|
41
|
-
whiteBright: x,
|
|
42
|
-
bgBlackBright: x,
|
|
43
|
-
bgRedBright: x,
|
|
44
|
-
bgGreenBright: x,
|
|
45
|
-
bgYellowBright: x,
|
|
46
|
-
bgBlueBright: x,
|
|
47
|
-
bgMagentaBright: x,
|
|
48
|
-
bgCyanBright: x,
|
|
49
|
-
bgWhiteBright: x
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
module.exports = create();
|
|
53
|
-
module.exports.createColors = create;
|
|
54
|
-
}));
|
|
55
|
-
|
|
56
|
-
//#endregion
|
|
57
|
-
export default require_picocolors_browser();
|
|
58
|
-
|
|
59
|
-
export { require_picocolors_browser };
|
package/dist/styles/index.d.ts
DELETED