@atme-lab/ui-kit 0.1.26 → 0.1.27
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/components/primitives/Callout/Callout.d.ts +1 -0
- package/dist/index.cjs10.js +1 -1
- package/dist/index.cjs11.js +1 -1
- package/dist/index.cjs12.js +1 -1
- package/dist/index.cjs13.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs19.js +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs21.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs24.js +1 -1
- package/dist/index.cjs24.js.map +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs30.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs32.js +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs415.js +6 -1
- package/dist/index.cjs415.js.map +1 -1
- package/dist/index.cjs416.js +6 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -6
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -6
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs46.js.map +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs47.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs51.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs53.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs54.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs55.js.map +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs56.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs58.js.map +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs59.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs61.js.map +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs9.js +1 -1
- package/dist/index.esm10.js +2 -2
- package/dist/index.esm11.js +1 -1
- package/dist/index.esm12.js +3 -3
- package/dist/index.esm13.js +1 -1
- package/dist/index.esm14.js +1 -1
- package/dist/index.esm15.js +1 -1
- package/dist/index.esm16.js +1 -1
- package/dist/index.esm18.js +1 -1
- package/dist/index.esm19.js +1 -1
- package/dist/index.esm20.js +1 -1
- package/dist/index.esm21.js +2 -2
- package/dist/index.esm22.js +2 -2
- package/dist/index.esm23.js +1 -1
- package/dist/index.esm24.js +15 -14
- package/dist/index.esm24.js.map +1 -1
- package/dist/index.esm25.js +1 -1
- package/dist/index.esm26.js +2 -2
- package/dist/index.esm27.js +1 -1
- package/dist/index.esm28.js +1 -1
- package/dist/index.esm30.js +2 -2
- package/dist/index.esm31.js +1 -1
- package/dist/index.esm32.js +3 -3
- package/dist/index.esm389.js +1 -1
- package/dist/index.esm394.js +1 -1
- package/dist/index.esm395.js +1 -1
- package/dist/index.esm415.js +9 -5
- package/dist/index.esm415.js.map +1 -1
- package/dist/index.esm416.js +18 -5
- package/dist/index.esm416.js.map +1 -1
- package/dist/index.esm417.js +8 -2
- package/dist/index.esm417.js.map +1 -1
- package/dist/index.esm418.js +5 -6
- package/dist/index.esm418.js.map +1 -1
- package/dist/index.esm419.js +5 -15
- package/dist/index.esm419.js.map +1 -1
- package/dist/index.esm420.js +5 -17
- package/dist/index.esm420.js.map +1 -1
- package/dist/index.esm424.js +1 -1
- package/dist/index.esm425.js +2 -2
- package/dist/index.esm426.js +3 -3
- package/dist/index.esm427.js +3 -3
- package/dist/index.esm428.js +1 -1
- package/dist/index.esm429.js +2 -2
- package/dist/index.esm430.js +1 -1
- package/dist/index.esm432.js +1 -1
- package/dist/index.esm434.js +7 -7
- package/dist/index.esm437.js +1 -1
- package/dist/index.esm442.js +5 -18
- package/dist/index.esm442.js.map +1 -1
- package/dist/index.esm443.js +9 -16
- package/dist/index.esm443.js.map +1 -1
- package/dist/index.esm444.js +6 -11
- package/dist/index.esm444.js.map +1 -1
- package/dist/index.esm445.js +3 -4
- package/dist/index.esm445.js.map +1 -1
- package/dist/index.esm446.js +84 -3
- package/dist/index.esm446.js.map +1 -1
- package/dist/index.esm447.js +34 -27
- package/dist/index.esm447.js.map +1 -1
- package/dist/index.esm448.js +27 -30
- package/dist/index.esm448.js.map +1 -1
- package/dist/index.esm449.js +13 -20
- package/dist/index.esm449.js.map +1 -1
- package/dist/index.esm45.js +16 -39
- package/dist/index.esm45.js.map +1 -1
- package/dist/index.esm450.js +16 -3
- package/dist/index.esm450.js.map +1 -1
- package/dist/index.esm451.js +11 -5
- package/dist/index.esm451.js.map +1 -1
- package/dist/index.esm452.js +4 -9
- package/dist/index.esm452.js.map +1 -1
- package/dist/index.esm453.js +3 -6
- package/dist/index.esm453.js.map +1 -1
- package/dist/index.esm454.js +33 -3
- package/dist/index.esm454.js.map +1 -1
- package/dist/index.esm455.js +26 -85
- package/dist/index.esm455.js.map +1 -1
- package/dist/index.esm456.js +3 -37
- package/dist/index.esm456.js.map +1 -1
- package/dist/index.esm46.js +16 -17
- package/dist/index.esm46.js.map +1 -1
- package/dist/index.esm47.js +7 -16
- package/dist/index.esm47.js.map +1 -1
- package/dist/index.esm48.js +39 -40
- package/dist/index.esm48.js.map +1 -1
- package/dist/index.esm50.js +8 -32
- package/dist/index.esm50.js.map +1 -1
- package/dist/index.esm51.js +28 -9
- package/dist/index.esm51.js.map +1 -1
- package/dist/index.esm52.js +58 -6
- package/dist/index.esm52.js.map +1 -1
- package/dist/index.esm53.js +41 -9
- package/dist/index.esm53.js.map +1 -1
- package/dist/index.esm54.js +11 -7
- package/dist/index.esm54.js.map +1 -1
- package/dist/index.esm55.js +30 -9
- package/dist/index.esm55.js.map +1 -1
- package/dist/index.esm56.js +37 -28
- package/dist/index.esm56.js.map +1 -1
- package/dist/index.esm57.js +64 -10
- package/dist/index.esm57.js.map +1 -1
- package/dist/index.esm58.js +9 -30
- package/dist/index.esm58.js.map +1 -1
- package/dist/index.esm59.js +88 -9
- package/dist/index.esm59.js.map +1 -1
- package/dist/index.esm60.js +34 -19
- package/dist/index.esm60.js.map +1 -1
- package/dist/index.esm61.js +127 -47
- package/dist/index.esm61.js.map +1 -1
- package/dist/index.esm62.js +28 -10
- package/dist/index.esm62.js.map +1 -1
- package/dist/index.esm63.js +42 -5
- package/dist/index.esm63.js.map +1 -1
- package/dist/index.esm64.js +7 -3
- package/dist/index.esm64.js.map +1 -1
- package/dist/index.esm65.js +47 -65
- package/dist/index.esm65.js.map +1 -1
- package/dist/index.esm66.js +10 -36
- package/dist/index.esm66.js.map +1 -1
- package/dist/index.esm67.js +5 -88
- package/dist/index.esm67.js.map +1 -1
- package/dist/index.esm68.js +6 -34
- package/dist/index.esm68.js.map +1 -1
- package/dist/index.esm69.js +8 -126
- package/dist/index.esm69.js.map +1 -1
- package/dist/index.esm70.js +7 -59
- package/dist/index.esm70.js.map +1 -1
- package/dist/index.esm71.js +27 -40
- package/dist/index.esm71.js.map +1 -1
- package/dist/index.esm72.js +32 -6
- package/dist/index.esm72.js.map +1 -1
- package/dist/index.esm73.js +5 -15
- package/dist/index.esm73.js.map +1 -1
- package/dist/index.esm74.js +20 -109
- package/dist/index.esm74.js.map +1 -1
- package/dist/index.esm76.js +15 -28
- package/dist/index.esm76.js.map +1 -1
- package/dist/index.esm77.js +109 -30
- package/dist/index.esm77.js.map +1 -1
- package/dist/index.esm9.js +1 -1
- package/package.json +1 -1
package/dist/index.esm442.js
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @param {SchemaType['normal']} normal
|
|
7
|
-
* Normal.
|
|
8
|
-
* @param {Space | undefined} [space]
|
|
9
|
-
* Space.
|
|
10
|
-
* @returns
|
|
11
|
-
* Schema.
|
|
12
|
-
*/
|
|
13
|
-
constructor(e, p, o) {
|
|
14
|
-
this.normal = p, this.property = e, o && (this.space = o);
|
|
15
|
-
}
|
|
2
|
+
import { core as i } from "./index.esm460.js";
|
|
3
|
+
import { formatSmart as o } from "./index.esm461.js";
|
|
4
|
+
function n(t, r) {
|
|
5
|
+
return i(t, Object.assign({ format: o }, r));
|
|
16
6
|
}
|
|
17
|
-
t.prototype.normal = {};
|
|
18
|
-
t.prototype.property = {};
|
|
19
|
-
t.prototype.space = void 0;
|
|
20
7
|
export {
|
|
21
|
-
|
|
8
|
+
n as stringifyEntities
|
|
22
9
|
};
|
|
23
10
|
//# sourceMappingURL=index.esm442.js.map
|
package/dist/index.esm442.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm442.js","sources":["../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.esm442.js","sources":["../node_modules/.pnpm/stringify-entities@4.0.4/node_modules/stringify-entities/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n"],"names":["stringifyEntities","value","options","core","formatSmart"],"mappings":";;;AAmBO,SAASA,EAAkBC,GAAOC,GAAS;AAChD,SAAOC,EAAKF,GAAO,OAAO,OAAO,EAAC,QAAQG,EAAW,GAAGF,CAAO,CAAC;AAClE;","x_google_ignoreList":[0]}
|
package/dist/index.esm443.js
CHANGED
|
@@ -1,21 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
r.transform(r.attributes || {}, e),
|
|
11
|
-
m,
|
|
12
|
-
r.space
|
|
13
|
-
);
|
|
14
|
-
r.mustUseProperty && r.mustUseProperty.includes(e) && (s.mustUseProperty = !0), o[e] = s, t[p(e)] = e, t[p(s.attribute)] = e;
|
|
15
|
-
}
|
|
16
|
-
return new u(o, t, r.space);
|
|
2
|
+
function r(o, e) {
|
|
3
|
+
const t = String(o);
|
|
4
|
+
if (typeof e != "string")
|
|
5
|
+
throw new TypeError("Expected character");
|
|
6
|
+
let i = 0, n = t.indexOf(e);
|
|
7
|
+
for (; n !== -1; )
|
|
8
|
+
i++, n = t.indexOf(e, n + e.length);
|
|
9
|
+
return i;
|
|
17
10
|
}
|
|
18
11
|
export {
|
|
19
|
-
|
|
12
|
+
r as ccount
|
|
20
13
|
};
|
|
21
14
|
//# sourceMappingURL=index.esm443.js.map
|
package/dist/index.esm443.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm443.js","sources":["../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.esm443.js","sources":["../node_modules/.pnpm/ccount@2.0.1/node_modules/ccount/index.js"],"sourcesContent":["/**\n * Count how often a character (or substring) is used in a string.\n *\n * @param {string} value\n * Value to search in.\n * @param {string} character\n * Character (or substring) to look for.\n * @return {number}\n * Number of times `character` occurred in `value`.\n */\nexport function ccount(value, character) {\n const source = String(value)\n\n if (typeof character !== 'string') {\n throw new TypeError('Expected character')\n }\n\n let count = 0\n let index = source.indexOf(character)\n\n while (index !== -1) {\n count++\n index = source.indexOf(character, index + character.length)\n }\n\n return count\n}\n"],"names":["ccount","value","character","source","count","index"],"mappings":";AAUO,SAASA,EAAOC,GAAOC,GAAW;AACvC,QAAMC,IAAS,OAAOF,CAAK;AAE3B,MAAI,OAAOC,KAAc;AACvB,UAAM,IAAI,UAAU,oBAAoB;AAG1C,MAAIE,IAAQ,GACRC,IAAQF,EAAO,QAAQD,CAAS;AAEpC,SAAOG,MAAU;AACf,IAAAD,KACAC,IAAQF,EAAO,QAAQD,GAAWG,IAAQH,EAAU,MAAM;AAG5D,SAAOE;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.esm444.js
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
const n =
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
function o(t, i) {
|
|
3
|
+
const n = i || {};
|
|
4
|
+
return (t[t.length - 1] === "" ? [...t, ""] : t).join(
|
|
5
|
+
(n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
|
|
6
|
+
).trim();
|
|
6
7
|
}
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
-
t as booleanish,
|
|
10
|
-
p as commaOrSpaceSeparated,
|
|
11
|
-
s as commaSeparated,
|
|
12
|
-
c as number,
|
|
13
|
-
a as overloadedBoolean,
|
|
14
|
-
r as spaceSeparated
|
|
9
|
+
o as stringify
|
|
15
10
|
};
|
|
16
11
|
//# sourceMappingURL=index.esm444.js.map
|
package/dist/index.esm444.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm444.js","sources":["../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.esm444.js","sources":["../node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["stringify","values","options","settings"],"mappings":";AA4DO,SAASA,EAAUC,GAAQC,GAAS;AACzC,QAAMC,IAAWD,KAAW,CAAA;AAK5B,UAFcD,EAAOA,EAAO,SAAS,CAAC,MAAM,KAAK,CAAC,GAAGA,GAAQ,EAAE,IAAIA,GAGhE;AAAA,KACEE,EAAS,WAAW,MAAM,MACzB,OACCA,EAAS,YAAY,KAAQ,KAAK;AAAA,EAC3C,EACK,KAAI;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.esm445.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
return n(e, r.toLowerCase());
|
|
2
|
+
function n(i) {
|
|
3
|
+
return i.join(" ").trim();
|
|
5
4
|
}
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
n as stringify
|
|
8
7
|
};
|
|
9
8
|
//# sourceMappingURL=index.esm445.js.map
|
package/dist/index.esm445.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm445.js","sources":["../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.esm445.js","sources":["../node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["stringify","values"],"mappings":";AAqBO,SAASA,EAAUC,GAAQ;AAChC,SAAOA,EAAO,KAAK,GAAG,EAAE,KAAI;AAC9B;","x_google_ignoreList":[0]}
|
package/dist/index.esm446.js
CHANGED
|
@@ -1,8 +1,89 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import { siblingAfter as n } from "./index.esm457.js";
|
|
3
|
+
import { omission as N } from "./index.esm458.js";
|
|
4
|
+
import { whitespace as c } from "./index.esm459.js";
|
|
5
|
+
const C = N({
|
|
6
|
+
body: u,
|
|
7
|
+
caption: o,
|
|
8
|
+
colgroup: o,
|
|
9
|
+
dd: d,
|
|
10
|
+
dt: s,
|
|
11
|
+
head: o,
|
|
12
|
+
html: i,
|
|
13
|
+
li: p,
|
|
14
|
+
optgroup: f,
|
|
15
|
+
option: y,
|
|
16
|
+
p: l,
|
|
17
|
+
rp: g,
|
|
18
|
+
rt: g,
|
|
19
|
+
tbody: x,
|
|
20
|
+
td: r,
|
|
21
|
+
tfoot: _,
|
|
22
|
+
th: r,
|
|
23
|
+
thead: h,
|
|
24
|
+
tr: b
|
|
25
|
+
});
|
|
26
|
+
function o(m, a, e) {
|
|
27
|
+
const t = n(e, a, !0);
|
|
28
|
+
return !t || t.type !== "comment" && !(t.type === "text" && c(t.value.charAt(0)));
|
|
29
|
+
}
|
|
30
|
+
function i(m, a, e) {
|
|
31
|
+
const t = n(e, a);
|
|
32
|
+
return !t || t.type !== "comment";
|
|
33
|
+
}
|
|
34
|
+
function u(m, a, e) {
|
|
35
|
+
const t = n(e, a);
|
|
36
|
+
return !t || t.type !== "comment";
|
|
37
|
+
}
|
|
38
|
+
function l(m, a, e) {
|
|
39
|
+
const t = n(e, a);
|
|
40
|
+
return t ? t.type === "element" && (t.tagName === "address" || t.tagName === "article" || t.tagName === "aside" || t.tagName === "blockquote" || t.tagName === "details" || t.tagName === "div" || t.tagName === "dl" || t.tagName === "fieldset" || t.tagName === "figcaption" || t.tagName === "figure" || t.tagName === "footer" || t.tagName === "form" || t.tagName === "h1" || t.tagName === "h2" || t.tagName === "h3" || t.tagName === "h4" || t.tagName === "h5" || t.tagName === "h6" || t.tagName === "header" || t.tagName === "hgroup" || t.tagName === "hr" || t.tagName === "main" || t.tagName === "menu" || t.tagName === "nav" || t.tagName === "ol" || t.tagName === "p" || t.tagName === "pre" || t.tagName === "section" || t.tagName === "table" || t.tagName === "ul") : !e || // Confusing parent.
|
|
41
|
+
!(e.type === "element" && (e.tagName === "a" || e.tagName === "audio" || e.tagName === "del" || e.tagName === "ins" || e.tagName === "map" || e.tagName === "noscript" || e.tagName === "video"));
|
|
42
|
+
}
|
|
43
|
+
function p(m, a, e) {
|
|
44
|
+
const t = n(e, a);
|
|
45
|
+
return !t || t.type === "element" && t.tagName === "li";
|
|
46
|
+
}
|
|
47
|
+
function s(m, a, e) {
|
|
48
|
+
const t = n(e, a);
|
|
49
|
+
return !!(t && t.type === "element" && (t.tagName === "dt" || t.tagName === "dd"));
|
|
50
|
+
}
|
|
51
|
+
function d(m, a, e) {
|
|
52
|
+
const t = n(e, a);
|
|
53
|
+
return !t || t.type === "element" && (t.tagName === "dt" || t.tagName === "dd");
|
|
54
|
+
}
|
|
55
|
+
function g(m, a, e) {
|
|
56
|
+
const t = n(e, a);
|
|
57
|
+
return !t || t.type === "element" && (t.tagName === "rp" || t.tagName === "rt");
|
|
58
|
+
}
|
|
59
|
+
function f(m, a, e) {
|
|
60
|
+
const t = n(e, a);
|
|
61
|
+
return !t || t.type === "element" && t.tagName === "optgroup";
|
|
62
|
+
}
|
|
63
|
+
function y(m, a, e) {
|
|
64
|
+
const t = n(e, a);
|
|
65
|
+
return !t || t.type === "element" && (t.tagName === "option" || t.tagName === "optgroup");
|
|
66
|
+
}
|
|
67
|
+
function h(m, a, e) {
|
|
68
|
+
const t = n(e, a);
|
|
69
|
+
return !!(t && t.type === "element" && (t.tagName === "tbody" || t.tagName === "tfoot"));
|
|
70
|
+
}
|
|
71
|
+
function x(m, a, e) {
|
|
72
|
+
const t = n(e, a);
|
|
73
|
+
return !t || t.type === "element" && (t.tagName === "tbody" || t.tagName === "tfoot");
|
|
74
|
+
}
|
|
75
|
+
function _(m, a, e) {
|
|
76
|
+
return !n(e, a);
|
|
77
|
+
}
|
|
78
|
+
function b(m, a, e) {
|
|
79
|
+
const t = n(e, a);
|
|
80
|
+
return !t || t.type === "element" && t.tagName === "tr";
|
|
81
|
+
}
|
|
82
|
+
function r(m, a, e) {
|
|
83
|
+
const t = n(e, a);
|
|
84
|
+
return !t || t.type === "element" && (t.tagName === "td" || t.tagName === "th");
|
|
4
85
|
}
|
|
5
86
|
export {
|
|
6
|
-
|
|
87
|
+
C as closing
|
|
7
88
|
};
|
|
8
89
|
//# sourceMappingURL=index.esm446.js.map
|
package/dist/index.esm446.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm446.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js"],"sourcesContent":["/**\n * @param {Record<string, string>} attributes\n * Attributes.\n * @param {string} attribute\n * Attribute.\n * @returns {string}\n * Transformed attribute.\n */\nexport function caseSensitiveTransform(attributes, attribute) {\n return attribute in attributes ? attributes[attribute] : attribute\n}\n"],"names":["caseSensitiveTransform","attributes","attribute"],"mappings":";AAQO,SAASA,EAAuBC,GAAYC,GAAW;AAC5D,SAAOA,KAAaD,IAAaA,EAAWC,CAAS,IAAIA;AAC3D;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.esm446.js","sources":["../node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/closing.js"],"sourcesContent":["/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter} from './util/siblings.js'\nimport {omission} from './omission.js'\n\nexport const closing = omission({\n body,\n caption: headOrColgroupOrCaption,\n colgroup: headOrColgroupOrCaption,\n dd,\n dt,\n head: headOrColgroupOrCaption,\n html,\n li,\n optgroup,\n option,\n p,\n rp: rubyElement,\n rt: rubyElement,\n tbody,\n td: cells,\n tfoot,\n th: cells,\n thead,\n tr\n})\n\n/**\n * Macro for `</head>`, `</colgroup>`, and `</caption>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction headOrColgroupOrCaption(_, index, parent) {\n const next = siblingAfter(parent, index, true)\n return (\n !next ||\n (next.type !== 'comment' &&\n !(next.type === 'text' && whitespace(next.value.charAt(0))))\n )\n}\n\n/**\n * Whether to omit `</html>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction html(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || next.type !== 'comment'\n}\n\n/**\n * Whether to omit `</body>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction body(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || next.type !== 'comment'\n}\n\n/**\n * Whether to omit `</p>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction p(_, index, parent) {\n const next = siblingAfter(parent, index)\n return next\n ? next.type === 'element' &&\n (next.tagName === 'address' ||\n next.tagName === 'article' ||\n next.tagName === 'aside' ||\n next.tagName === 'blockquote' ||\n next.tagName === 'details' ||\n next.tagName === 'div' ||\n next.tagName === 'dl' ||\n next.tagName === 'fieldset' ||\n next.tagName === 'figcaption' ||\n next.tagName === 'figure' ||\n next.tagName === 'footer' ||\n next.tagName === 'form' ||\n next.tagName === 'h1' ||\n next.tagName === 'h2' ||\n next.tagName === 'h3' ||\n next.tagName === 'h4' ||\n next.tagName === 'h5' ||\n next.tagName === 'h6' ||\n next.tagName === 'header' ||\n next.tagName === 'hgroup' ||\n next.tagName === 'hr' ||\n next.tagName === 'main' ||\n next.tagName === 'menu' ||\n next.tagName === 'nav' ||\n next.tagName === 'ol' ||\n next.tagName === 'p' ||\n next.tagName === 'pre' ||\n next.tagName === 'section' ||\n next.tagName === 'table' ||\n next.tagName === 'ul')\n : !parent ||\n // Confusing parent.\n !(\n parent.type === 'element' &&\n (parent.tagName === 'a' ||\n parent.tagName === 'audio' ||\n parent.tagName === 'del' ||\n parent.tagName === 'ins' ||\n parent.tagName === 'map' ||\n parent.tagName === 'noscript' ||\n parent.tagName === 'video')\n )\n}\n\n/**\n * Whether to omit `</li>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction li(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'li')\n}\n\n/**\n * Whether to omit `</dt>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction dt(_, index, parent) {\n const next = siblingAfter(parent, index)\n return Boolean(\n next &&\n next.type === 'element' &&\n (next.tagName === 'dt' || next.tagName === 'dd')\n )\n}\n\n/**\n * Whether to omit `</dd>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction dd(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'dt' || next.tagName === 'dd'))\n )\n}\n\n/**\n * Whether to omit `</rt>` or `</rp>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction rubyElement(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'rp' || next.tagName === 'rt'))\n )\n}\n\n/**\n * Whether to omit `</optgroup>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction optgroup(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'optgroup')\n}\n\n/**\n * Whether to omit `</option>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction option(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'option' || next.tagName === 'optgroup'))\n )\n}\n\n/**\n * Whether to omit `</thead>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction thead(_, index, parent) {\n const next = siblingAfter(parent, index)\n return Boolean(\n next &&\n next.type === 'element' &&\n (next.tagName === 'tbody' || next.tagName === 'tfoot')\n )\n}\n\n/**\n * Whether to omit `</tbody>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tbody(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'tbody' || next.tagName === 'tfoot'))\n )\n}\n\n/**\n * Whether to omit `</tfoot>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tfoot(_, index, parent) {\n return !siblingAfter(parent, index)\n}\n\n/**\n * Whether to omit `</tr>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction tr(_, index, parent) {\n const next = siblingAfter(parent, index)\n return !next || (next.type === 'element' && next.tagName === 'tr')\n}\n\n/**\n * Whether to omit `</td>` or `</th>`.\n *\n * @param {Element} _\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the closing tag can be omitted.\n */\nfunction cells(_, index, parent) {\n const next = siblingAfter(parent, index)\n return (\n !next ||\n (next.type === 'element' &&\n (next.tagName === 'td' || next.tagName === 'th'))\n )\n}\n"],"names":["closing","omission","body","headOrColgroupOrCaption","dd","dt","html","li","optgroup","option","p","rubyElement","tbody","cells","tfoot","thead","tr","_","index","parent","next","siblingAfter","whitespace"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.esm447.js
CHANGED
|
@@ -1,35 +1,42 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
import { siblingAfter as m, siblingBefore as i } from "./index.esm457.js";
|
|
3
|
+
import { closing as r } from "./index.esm446.js";
|
|
4
|
+
import { omission as c } from "./index.esm458.js";
|
|
5
|
+
import { whitespace as l } from "./index.esm459.js";
|
|
6
|
+
const b = c({
|
|
7
|
+
body: u,
|
|
8
|
+
colgroup: g,
|
|
9
|
+
head: f,
|
|
10
|
+
html: s,
|
|
11
|
+
tbody: d
|
|
12
|
+
});
|
|
13
|
+
function s(o) {
|
|
14
|
+
const e = m(o, -1);
|
|
15
|
+
return !e || e.type !== "comment";
|
|
16
|
+
}
|
|
17
|
+
function f(o) {
|
|
18
|
+
const e = /* @__PURE__ */ new Set();
|
|
19
|
+
for (const t of o.children)
|
|
20
|
+
if (t.type === "element" && (t.tagName === "base" || t.tagName === "title")) {
|
|
21
|
+
if (e.has(t.tagName)) return !1;
|
|
22
|
+
e.add(t.tagName);
|
|
21
23
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
const n = o.children[0];
|
|
25
|
+
return !n || n.type === "element";
|
|
26
|
+
}
|
|
27
|
+
function u(o) {
|
|
28
|
+
const e = m(o, -1, !0);
|
|
29
|
+
return !e || e.type !== "comment" && !(e.type === "text" && l(e.value.charAt(0))) && !(e.type === "element" && (e.tagName === "meta" || e.tagName === "link" || e.tagName === "script" || e.tagName === "style" || e.tagName === "template"));
|
|
25
30
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
31
|
+
function g(o, e, n) {
|
|
32
|
+
const t = i(n, e), a = m(o, -1, !0);
|
|
33
|
+
return n && t && t.type === "element" && t.tagName === "colgroup" && r(t, n.children.indexOf(t), n) ? !1 : !!(a && a.type === "element" && a.tagName === "col");
|
|
28
34
|
}
|
|
29
|
-
function
|
|
30
|
-
|
|
35
|
+
function d(o, e, n) {
|
|
36
|
+
const t = i(n, e), a = m(o, -1);
|
|
37
|
+
return n && t && t.type === "element" && (t.tagName === "thead" || t.tagName === "tbody") && r(t, n.children.indexOf(t), n) ? !1 : !!(a && a.type === "element" && a.tagName === "tr");
|
|
31
38
|
}
|
|
32
39
|
export {
|
|
33
|
-
|
|
40
|
+
b as opening
|
|
34
41
|
};
|
|
35
42
|
//# sourceMappingURL=index.esm447.js.map
|
package/dist/index.esm447.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm447.js","sources":["../node_modules/.pnpm/
|
|
1
|
+
{"version":3,"file":"index.esm447.js","sources":["../node_modules/.pnpm/hast-util-to-html@9.0.5/node_modules/hast-util-to-html/lib/omission/opening.js"],"sourcesContent":["/**\n * @import {Element, Parents} from 'hast'\n */\n\nimport {whitespace} from 'hast-util-whitespace'\nimport {siblingAfter, siblingBefore} from './util/siblings.js'\nimport {closing} from './closing.js'\nimport {omission} from './omission.js'\n\nexport const opening = omission({\n body,\n colgroup,\n head,\n html,\n tbody\n})\n\n/**\n * Whether to omit `<html>`.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction html(node) {\n const head = siblingAfter(node, -1)\n return !head || head.type !== 'comment'\n}\n\n/**\n * Whether to omit `<head>`.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction head(node) {\n /** @type {Set<string>} */\n const seen = new Set()\n\n // Whether `srcdoc` or not,\n // make sure the content model at least doesn’t have too many `base`s/`title`s.\n for (const child of node.children) {\n if (\n child.type === 'element' &&\n (child.tagName === 'base' || child.tagName === 'title')\n ) {\n if (seen.has(child.tagName)) return false\n seen.add(child.tagName)\n }\n }\n\n // “May be omitted if the element is empty,\n // or if the first thing inside the head element is an element.”\n const child = node.children[0]\n return !child || child.type === 'element'\n}\n\n/**\n * Whether to omit `<body>`.\n *\n * @param {Element} node\n * Element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction body(node) {\n const head = siblingAfter(node, -1, true)\n\n return (\n !head ||\n (head.type !== 'comment' &&\n !(head.type === 'text' && whitespace(head.value.charAt(0))) &&\n !(\n head.type === 'element' &&\n (head.tagName === 'meta' ||\n head.tagName === 'link' ||\n head.tagName === 'script' ||\n head.tagName === 'style' ||\n head.tagName === 'template')\n ))\n )\n}\n\n/**\n * Whether to omit `<colgroup>`.\n * The spec describes some logic for the opening tag, but it’s easier to\n * implement in the closing tag, to the same effect, so we handle it there\n * instead.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction colgroup(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1, true)\n\n // Previous colgroup was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n previous.tagName === 'colgroup' &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'col')\n}\n\n/**\n * Whether to omit `<tbody>`.\n *\n * @param {Element} node\n * Element.\n * @param {number | undefined} index\n * Index of element in parent.\n * @param {Parents | undefined} parent\n * Parent of element.\n * @returns {boolean}\n * Whether the opening tag can be omitted.\n */\nfunction tbody(node, index, parent) {\n const previous = siblingBefore(parent, index)\n const head = siblingAfter(node, -1)\n\n // Previous table section was already omitted.\n if (\n parent &&\n previous &&\n previous.type === 'element' &&\n (previous.tagName === 'thead' || previous.tagName === 'tbody') &&\n closing(previous, parent.children.indexOf(previous), parent)\n ) {\n return false\n }\n\n return Boolean(head && head.type === 'element' && head.tagName === 'tr')\n}\n"],"names":["opening","omission","body","colgroup","head","html","tbody","node","siblingAfter","seen","child","whitespace","index","parent","previous","siblingBefore","closing"],"mappings":";;;;;AASY,MAACA,IAAUC,EAAS;AAAA,EAC9B,MAAAC;AAAA,EACA,UAAAC;AAAA,EACA,MAAAC;AAAA,EACA,MAAAC;AAAA,EACA,OAAAC;AACF,CAAC;AAUD,SAASD,EAAKE,GAAM;AAClB,QAAMH,IAAOI,EAAaD,GAAM,EAAE;AAClC,SAAO,CAACH,KAAQA,EAAK,SAAS;AAChC;AAUA,SAASA,EAAKG,GAAM;AAElB,QAAME,IAAO,oBAAI,IAAG;AAIpB,aAAWC,KAASH,EAAK;AACvB,QACEG,EAAM,SAAS,cACdA,EAAM,YAAY,UAAUA,EAAM,YAAY,UAC/C;AACA,UAAID,EAAK,IAAIC,EAAM,OAAO,EAAG,QAAO;AACpC,MAAAD,EAAK,IAAIC,EAAM,OAAO;AAAA,IACxB;AAKF,QAAMA,IAAQH,EAAK,SAAS,CAAC;AAC7B,SAAO,CAACG,KAASA,EAAM,SAAS;AAClC;AAUA,SAASR,EAAKK,GAAM;AAClB,QAAMH,IAAOI,EAAaD,GAAM,IAAI,EAAI;AAExC,SACE,CAACH,KACAA,EAAK,SAAS,aACb,EAAEA,EAAK,SAAS,UAAUO,EAAWP,EAAK,MAAM,OAAO,CAAC,CAAC,MACzD,EACEA,EAAK,SAAS,cACbA,EAAK,YAAY,UAChBA,EAAK,YAAY,UACjBA,EAAK,YAAY,YACjBA,EAAK,YAAY,WACjBA,EAAK,YAAY;AAG3B;AAiBA,SAASD,EAASI,GAAMK,GAAOC,GAAQ;AACrC,QAAMC,IAAWC,EAAcF,GAAQD,CAAK,GACtCR,IAAOI,EAAaD,GAAM,IAAI,EAAI;AAGxC,SACEM,KACAC,KACAA,EAAS,SAAS,aAClBA,EAAS,YAAY,cACrBE,EAAQF,GAAUD,EAAO,SAAS,QAAQC,CAAQ,GAAGD,CAAM,IAEpD,KAGF,GAAQT,KAAQA,EAAK,SAAS,aAAaA,EAAK,YAAY;AACrE;AAcA,SAASE,EAAMC,GAAMK,GAAOC,GAAQ;AAClC,QAAMC,IAAWC,EAAcF,GAAQD,CAAK,GACtCR,IAAOI,EAAaD,GAAM,EAAE;AAGlC,SACEM,KACAC,KACAA,EAAS,SAAS,cACjBA,EAAS,YAAY,WAAWA,EAAS,YAAY,YACtDE,EAAQF,GAAUD,EAAO,SAAS,QAAQC,CAAQ,GAAGD,CAAM,IAEpD,KAGF,GAAQT,KAAQA,EAAK,SAAS,aAAaA,EAAK,YAAY;AACrE;","x_google_ignoreList":[0]}
|
package/dist/index.esm448.js
CHANGED
|
@@ -1,38 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
);
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
* Info.
|
|
21
|
-
*/
|
|
22
|
-
constructor(t, e, i, p) {
|
|
23
|
-
let o = -1;
|
|
24
|
-
if (super(t, e), f(this, "space", p), typeof i == "number")
|
|
25
|
-
for (; ++o < n.length; ) {
|
|
26
|
-
const r = n[o];
|
|
27
|
-
f(this, n[o], (i & s[r]) === s[r]);
|
|
2
|
+
import { DefinedInfo as a } from "./index.esm454.js";
|
|
3
|
+
import { Info as p } from "./index.esm455.js";
|
|
4
|
+
import { normalize as f } from "./index.esm456.js";
|
|
5
|
+
const l = /[A-Z]/g, s = /-[a-z]/g, d = /^data[-\w.:]+$/i;
|
|
6
|
+
function y(r, t) {
|
|
7
|
+
const n = f(t);
|
|
8
|
+
let i = t, c = p;
|
|
9
|
+
if (n in r.normal)
|
|
10
|
+
return r.property[r.normal[n]];
|
|
11
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && d.test(t)) {
|
|
12
|
+
if (t.charAt(4) === "-") {
|
|
13
|
+
const e = t.slice(5).replace(s, h);
|
|
14
|
+
i = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
15
|
+
} else {
|
|
16
|
+
const e = t.slice(4);
|
|
17
|
+
if (!s.test(e)) {
|
|
18
|
+
let o = e.replace(l, m);
|
|
19
|
+
o.charAt(0) !== "-" && (o = "-" + o), t = "data" + o;
|
|
28
20
|
}
|
|
21
|
+
}
|
|
22
|
+
c = a;
|
|
29
23
|
}
|
|
24
|
+
return new c(i, t);
|
|
30
25
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
function m(r) {
|
|
27
|
+
return "-" + r.toLowerCase();
|
|
28
|
+
}
|
|
29
|
+
function h(r) {
|
|
30
|
+
return r.charAt(1).toUpperCase();
|
|
34
31
|
}
|
|
35
32
|
export {
|
|
36
|
-
|
|
33
|
+
y as find
|
|
37
34
|
};
|
|
38
35
|
//# sourceMappingURL=index.esm448.js.map
|
package/dist/index.esm448.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm448.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/
|
|
1
|
+
{"version":3,"file":"index.esm448.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/find.js"],"sourcesContent":["/**\n * @import {Schema} from 'property-information'\n */\n\nimport {DefinedInfo} from './util/defined-info.js'\nimport {Info} from './util/info.js'\nimport {normalize} from './normalize.js'\n\nconst cap = /[A-Z]/g\nconst dash = /-[a-z]/g\nconst valid = /^data[-\\w.:]+$/i\n\n/**\n * Look up info on a property.\n *\n * In most cases the given `schema` contains info on the property.\n * All standard,\n * most legacy,\n * and some non-standard properties are supported.\n * For these cases,\n * the returned `Info` has hints about the value of the property.\n *\n * `name` can also be a valid data attribute or property,\n * in which case an `Info` object with the correctly cased `attribute` and\n * `property` is returned.\n *\n * `name` can be an unknown attribute,\n * in which case an `Info` object with `attribute` and `property` set to the\n * given name is returned.\n * It is not recommended to provide unsupported legacy or recently specced\n * properties.\n *\n *\n * @param {Schema} schema\n * Schema;\n * either the `html` or `svg` export.\n * @param {string} value\n * An attribute-like or property-like name;\n * it will be passed through `normalize` to hopefully find the correct info.\n * @returns {Info}\n * Info.\n */\nexport function find(schema, value) {\n const normal = normalize(value)\n let property = value\n let Type = Info\n\n if (normal in schema.normal) {\n return schema.property[schema.normal[normal]]\n }\n\n if (normal.length > 4 && normal.slice(0, 4) === 'data' && valid.test(value)) {\n // Attribute or property.\n if (value.charAt(4) === '-') {\n // Turn it into a property.\n const rest = value.slice(5).replace(dash, camelcase)\n property = 'data' + rest.charAt(0).toUpperCase() + rest.slice(1)\n } else {\n // Turn it into an attribute.\n const rest = value.slice(4)\n\n if (!dash.test(rest)) {\n let dashes = rest.replace(cap, kebab)\n\n if (dashes.charAt(0) !== '-') {\n dashes = '-' + dashes\n }\n\n value = 'data' + dashes\n }\n }\n\n Type = DefinedInfo\n }\n\n return new Type(property, value)\n}\n\n/**\n * @param {string} $0\n * Value.\n * @returns {string}\n * Kebab.\n */\nfunction kebab($0) {\n return '-' + $0.toLowerCase()\n}\n\n/**\n * @param {string} $0\n * Value.\n * @returns {string}\n * Camel.\n */\nfunction camelcase($0) {\n return $0.charAt(1).toUpperCase()\n}\n"],"names":["cap","dash","valid","find","schema","value","normal","normalize","property","Type","Info","rest","camelcase","dashes","kebab","DefinedInfo","$0"],"mappings":";;;;AAQA,MAAMA,IAAM,UACNC,IAAO,WACPC,IAAQ;AAgCP,SAASC,EAAKC,GAAQC,GAAO;AAClC,QAAMC,IAASC,EAAUF,CAAK;AAC9B,MAAIG,IAAWH,GACXI,IAAOC;AAEX,MAAIJ,KAAUF,EAAO;AACnB,WAAOA,EAAO,SAASA,EAAO,OAAOE,CAAM,CAAC;AAG9C,MAAIA,EAAO,SAAS,KAAKA,EAAO,MAAM,GAAG,CAAC,MAAM,UAAUJ,EAAM,KAAKG,CAAK,GAAG;AAE3E,QAAIA,EAAM,OAAO,CAAC,MAAM,KAAK;AAE3B,YAAMM,IAAON,EAAM,MAAM,CAAC,EAAE,QAAQJ,GAAMW,CAAS;AACnD,MAAAJ,IAAW,SAASG,EAAK,OAAO,CAAC,EAAE,YAAW,IAAKA,EAAK,MAAM,CAAC;AAAA,IACjE,OAAO;AAEL,YAAMA,IAAON,EAAM,MAAM,CAAC;AAE1B,UAAI,CAACJ,EAAK,KAAKU,CAAI,GAAG;AACpB,YAAIE,IAASF,EAAK,QAAQX,GAAKc,CAAK;AAEpC,QAAID,EAAO,OAAO,CAAC,MAAM,QACvBA,IAAS,MAAMA,IAGjBR,IAAQ,SAASQ;AAAA,MACnB;AAAA,IACF;AAEA,IAAAJ,IAAOM;AAAA,EACT;AAEA,SAAO,IAAIN,EAAKD,GAAUH,CAAK;AACjC;AAQA,SAASS,EAAME,GAAI;AACjB,SAAO,MAAMA,EAAG,YAAW;AAC7B;AAQA,SAASJ,EAAUI,GAAI;AACrB,SAAOA,EAAG,OAAO,CAAC,EAAE,YAAW;AACjC;","x_google_ignoreList":[0]}
|
package/dist/index.esm449.js
CHANGED
|
@@ -1,30 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
class
|
|
2
|
+
class t {
|
|
3
3
|
/**
|
|
4
|
-
* @param {
|
|
4
|
+
* @param {SchemaType['property']} property
|
|
5
5
|
* Property.
|
|
6
|
-
* @param {
|
|
7
|
-
*
|
|
6
|
+
* @param {SchemaType['normal']} normal
|
|
7
|
+
* Normal.
|
|
8
|
+
* @param {Space | undefined} [space]
|
|
9
|
+
* Space.
|
|
8
10
|
* @returns
|
|
9
|
-
*
|
|
11
|
+
* Schema.
|
|
10
12
|
*/
|
|
11
|
-
constructor(
|
|
12
|
-
this.
|
|
13
|
+
constructor(e, p, o) {
|
|
14
|
+
this.normal = p, this.property = e, o && (this.space = o);
|
|
13
15
|
}
|
|
14
16
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
e.prototype.commaOrSpaceSeparated = !1;
|
|
19
|
-
e.prototype.commaSeparated = !1;
|
|
20
|
-
e.prototype.defined = !1;
|
|
21
|
-
e.prototype.mustUseProperty = !1;
|
|
22
|
-
e.prototype.number = !1;
|
|
23
|
-
e.prototype.overloadedBoolean = !1;
|
|
24
|
-
e.prototype.property = "";
|
|
25
|
-
e.prototype.spaceSeparated = !1;
|
|
26
|
-
e.prototype.space = void 0;
|
|
17
|
+
t.prototype.normal = {};
|
|
18
|
+
t.prototype.property = {};
|
|
19
|
+
t.prototype.space = void 0;
|
|
27
20
|
export {
|
|
28
|
-
|
|
21
|
+
t as Schema
|
|
29
22
|
};
|
|
30
23
|
//# sourceMappingURL=index.esm449.js.map
|
package/dist/index.esm449.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm449.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/
|
|
1
|
+
{"version":3,"file":"index.esm449.js","sources":["../node_modules/.pnpm/property-information@7.1.0/node_modules/property-information/lib/util/schema.js"],"sourcesContent":["/**\n * @import {Schema as SchemaType, Space} from 'property-information'\n */\n\n/** @type {SchemaType} */\nexport class Schema {\n /**\n * @param {SchemaType['property']} property\n * Property.\n * @param {SchemaType['normal']} normal\n * Normal.\n * @param {Space | undefined} [space]\n * Space.\n * @returns\n * Schema.\n */\n constructor(property, normal, space) {\n this.normal = normal\n this.property = property\n\n if (space) {\n this.space = space\n }\n }\n}\n\nSchema.prototype.normal = {}\nSchema.prototype.property = {}\nSchema.prototype.space = undefined\n"],"names":["Schema","property","normal","space"],"mappings":";AAKO,MAAMA,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWlB,YAAYC,GAAUC,GAAQC,GAAO;AACnC,SAAK,SAASD,GACd,KAAK,WAAWD,GAEZE,MACF,KAAK,QAAQA;AAAA,EAEjB;AACF;AAEAH,EAAO,UAAU,SAAS,CAAA;AAC1BA,EAAO,UAAU,WAAW,CAAA;AAC5BA,EAAO,UAAU,QAAQ;","x_google_ignoreList":[0]}
|
package/dist/index.esm45.js
CHANGED
|
@@ -1,44 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const t = "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"button--lg": "_button--lg_i24k3_72",
|
|
13
|
-
buttonLg: s,
|
|
14
|
-
"button--fullWidth": "_button--fullWidth_i24k3_78",
|
|
15
|
-
buttonFullWidth: c,
|
|
16
|
-
"button--primary": "_button--primary_i24k3_83",
|
|
17
|
-
buttonPrimary: l,
|
|
18
|
-
"button--secondary": "_button--secondary_i24k3_90",
|
|
19
|
-
buttonSecondary: k,
|
|
20
|
-
"button--outline": "_button--outline_i24k3_97",
|
|
21
|
-
buttonOutline: d,
|
|
22
|
-
"button--ghost": "_button--ghost_i24k3_104",
|
|
23
|
-
buttonGhost: e,
|
|
24
|
-
"button--loading": "_button--loading_i24k3_181",
|
|
25
|
-
buttonLoading: r
|
|
2
|
+
const t = "_likeButton_1nv5d_1", n = "_heartWrap_1nv5d_49", _ = "_heart_1nv5d_49", o = "_countWrap_1nv5d_112", e = "_count_1nv5d_112", u = {
|
|
3
|
+
likeButton: t,
|
|
4
|
+
"likeButton--disabled": "_likeButton--disabled_1nv5d_19",
|
|
5
|
+
"likeButton--liked": "_likeButton--liked_1nv5d_25",
|
|
6
|
+
"likeButton--pop": "_likeButton--pop_1nv5d_49",
|
|
7
|
+
heartWrap: n,
|
|
8
|
+
heart: _,
|
|
9
|
+
countWrap: o,
|
|
10
|
+
"countWrap--bump": "_countWrap--bump_1nv5d_119",
|
|
11
|
+
count: e
|
|
26
12
|
};
|
|
27
13
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
r as buttonLoading,
|
|
35
|
-
i as buttonMd,
|
|
36
|
-
d as buttonOutline,
|
|
37
|
-
l as buttonPrimary,
|
|
38
|
-
k as buttonSecondary,
|
|
39
|
-
b as buttonSm,
|
|
40
|
-
u as buttonSpinner,
|
|
41
|
-
a as default,
|
|
42
|
-
_ as spin
|
|
14
|
+
e as count,
|
|
15
|
+
o as countWrap,
|
|
16
|
+
u as default,
|
|
17
|
+
_ as heart,
|
|
18
|
+
n as heartWrap,
|
|
19
|
+
t as likeButton
|
|
43
20
|
};
|
|
44
21
|
//# sourceMappingURL=index.esm45.js.map
|