@nl-design-system-community/clippy-components 1.2.0 → 2.0.0
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/clippy-button/index.js +4 -4
- package/dist/clippy-code/index.js +18 -15
- package/dist/clippy-color-combobox/index.d.ts +9 -13
- package/dist/clippy-color-combobox/index.d.ts.map +1 -1
- package/dist/clippy-color-combobox/index.js +6 -5
- package/dist/clippy-color-combobox/lib.d.ts +16 -12
- package/dist/clippy-color-combobox/lib.d.ts.map +1 -1
- package/dist/clippy-color-combobox/messages/en.d.ts +14 -6
- package/dist/clippy-color-combobox/messages/en.d.ts.map +1 -1
- package/dist/clippy-color-combobox/messages/nl.d.ts +14 -6
- package/dist/clippy-color-combobox/messages/nl.d.ts.map +1 -1
- package/dist/clippy-combobox/index.d.ts +22 -8
- package/dist/clippy-combobox/index.d.ts.map +1 -1
- package/dist/clippy-combobox/index.js +703 -8
- package/dist/clippy-font-combobox/index.d.ts +4 -3
- package/dist/clippy-font-combobox/index.d.ts.map +1 -1
- package/dist/clippy-font-combobox/index.js +94 -59
- package/dist/clippy-heading/index.js +180 -174
- package/dist/clippy-html-image/index.js +51 -31
- package/dist/clippy-icon/index.js +22 -16
- package/dist/clippy-lang-combobox/index.d.ts +2 -4
- package/dist/clippy-lang-combobox/index.d.ts.map +1 -1
- package/dist/clippy-lang-combobox/index.js +104 -78
- package/dist/clippy-modal/index.d.ts +3 -3
- package/dist/clippy-modal/index.d.ts.map +1 -1
- package/dist/clippy-modal/index.js +98 -89
- package/dist/clippy-toggletip/index.d.ts +16 -0
- package/dist/clippy-toggletip/index.d.ts.map +1 -0
- package/dist/clippy-toggletip/index.js +180 -0
- package/dist/decorators-Cq82_-g_.js +11 -0
- package/dist/en-D1kE0w6o.js +4 -0
- package/dist/external-BCrp-PaG.js +4 -0
- package/dist/index-7tZ2Ykfm.js +135 -0
- package/dist/index-C9pF3BXT.js +10683 -0
- package/dist/lib/FormElement/index.d.ts +2 -1
- package/dist/lib/FormElement/index.d.ts.map +1 -1
- package/dist/lib/FormElement/index.js +95 -0
- package/dist/lib/LocalizationMixin/index.d.ts.map +1 -1
- package/dist/lib/LocalizationMixin/index.js +64 -0
- package/dist/lib/converters/index.d.ts +4 -0
- package/dist/lib/converters/index.d.ts.map +1 -1
- package/dist/lib/converters/index.js +35 -0
- package/dist/lib/sr-only/index.d.ts +3 -0
- package/dist/lib/sr-only/index.d.ts.map +1 -0
- package/dist/lib/sr-only/index.js +18 -0
- package/dist/nl-99gBQbne.js +19 -0
- package/package.json +19 -16
- package/dist/decorators-BGpMqJ7V.js +0 -7
- package/dist/en-B-D8DBsf.js +0 -4
- package/dist/external-Dtf6f6DP.js +0 -4
- package/dist/index-CT1z3SFL.js +0 -106
- package/dist/index-CaVpiaBC.js +0 -52
- package/dist/index-CmKtM5nD.js +0 -379
- package/dist/index-CtreqNZ6.js +0 -3602
- package/dist/index-D3FiqptQ.js +0 -65
- package/dist/nl-CJG2-yS5.js +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
-
export declare class FormElement<V =
|
|
2
|
+
export declare class FormElement<V = string> extends LitElement {
|
|
3
3
|
#private;
|
|
4
4
|
name: string;
|
|
5
5
|
hiddenLabel: string;
|
|
@@ -7,6 +7,7 @@ export declare class FormElement<V = unknown> extends LitElement {
|
|
|
7
7
|
readonly: boolean;
|
|
8
8
|
internals_: ElementInternals;
|
|
9
9
|
static readonly formAssociated = true;
|
|
10
|
+
get form(): HTMLFormElement | null;
|
|
10
11
|
set value(value: V | null);
|
|
11
12
|
get value(): V | null;
|
|
12
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/FormElement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGjC,qBAAa,WAAW,CAAC,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/FormElement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGjC,qBAAa,WAAW,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,UAAU;;IACzC,IAAI,SAAM;IACmB,WAAW,SAAM;IAC7B,QAAQ,UAAS;IACjB,QAAQ,UAAS;IAC9C,UAAU,mBAA0B;IAGpC,MAAM,CAAC,QAAQ,CAAC,cAAc,QAAQ;IAEtC,IAAI,IAAI,2BAEP;IAED,IAWI,KAAK,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,EAKxB;IAED,IAAI,KAAK,IAAI,CAAC,GAAG,IAAI,CAEpB;IAED;;OAEG;IACH,gBAAgB,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI;CAiBxD"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
var __typeError = (msg) => {
|
|
2
|
+
throw TypeError(msg);
|
|
3
|
+
};
|
|
4
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
5
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
6
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
7
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
8
|
+
var _value;
|
|
9
|
+
import { LitElement } from "lit";
|
|
10
|
+
import { property } from "lit/decorators.js";
|
|
11
|
+
var __defProp = Object.defineProperty;
|
|
12
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
14
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
15
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
16
|
+
if (decorator = decorators[i])
|
|
17
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
18
|
+
if (kind && result) __defProp(target, key, result);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
const _FormElement = class _FormElement extends LitElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
__privateAdd(this, _value);
|
|
25
|
+
this.name = "";
|
|
26
|
+
this.hiddenLabel = "";
|
|
27
|
+
this.disabled = false;
|
|
28
|
+
this.readonly = false;
|
|
29
|
+
this.internals_ = this.attachInternals();
|
|
30
|
+
__privateSet(this, _value, null);
|
|
31
|
+
}
|
|
32
|
+
get form() {
|
|
33
|
+
return this.internals_.form;
|
|
34
|
+
}
|
|
35
|
+
set value(value) {
|
|
36
|
+
if (__privateGet(this, _value) !== value) {
|
|
37
|
+
__privateSet(this, _value, value);
|
|
38
|
+
this.internals_.setFormValue(this.valueToFormValue(value));
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
get value() {
|
|
42
|
+
return __privateGet(this, _value);
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Override this function to customize how the value is converted to a form value;
|
|
46
|
+
*/
|
|
47
|
+
valueToFormValue(value) {
|
|
48
|
+
switch (true) {
|
|
49
|
+
/* eslint-disable eqeqeq -- loose equality will also return null for undefined */
|
|
50
|
+
case value == null:
|
|
51
|
+
return null;
|
|
52
|
+
case (typeof value === "string" || value instanceof File):
|
|
53
|
+
return value;
|
|
54
|
+
case typeof value === "object":
|
|
55
|
+
try {
|
|
56
|
+
return JSON.stringify(value);
|
|
57
|
+
} catch {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
default:
|
|
61
|
+
return String(value);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
_value = new WeakMap();
|
|
66
|
+
_FormElement.formAssociated = true;
|
|
67
|
+
let FormElement = _FormElement;
|
|
68
|
+
__decorateClass([
|
|
69
|
+
property()
|
|
70
|
+
], FormElement.prototype, "name", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
property({ attribute: "hidden-label" })
|
|
73
|
+
], FormElement.prototype, "hiddenLabel", 2);
|
|
74
|
+
__decorateClass([
|
|
75
|
+
property({ type: Boolean })
|
|
76
|
+
], FormElement.prototype, "disabled", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
property({ type: Boolean })
|
|
79
|
+
], FormElement.prototype, "readonly", 2);
|
|
80
|
+
__decorateClass([
|
|
81
|
+
property({
|
|
82
|
+
converter: (value) => {
|
|
83
|
+
if (typeof value !== "string") {
|
|
84
|
+
console.error(
|
|
85
|
+
`Reimplement value setter with property decorator. The inherited implementation only supports string values by design.`
|
|
86
|
+
);
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
], FormElement.prototype, "value", 1);
|
|
93
|
+
export {
|
|
94
|
+
FormElement
|
|
95
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/LocalizationMixin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAIhD;;;GAGG;AACH,OAAO,OAAO,0BAA0B;IACtC,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IACrC,IAAI,YAAY,IAAI,OAAO,0BAA0B,CAAC,YAAY,CAAC;IACnE,IAAI,IAAI,IAAI,MAAM,CAAC;IACnB,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,EAAE,kBAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/LocalizationMixin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,KAAK,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAIhD;;;GAGG;AACH,OAAO,OAAO,0BAA0B;IACtC,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IACrC,IAAI,YAAY,IAAI,OAAO,0BAA0B,CAAC,YAAY,CAAC;IACnE,IAAI,IAAI,IAAI,MAAM,CAAC;IACnB,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE;CACzB;AAED;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,iBAAiB,GAAI,CAAC,SAAS,WAAW,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,EAAE,kBAA0B,KAyCpE,WAAW,CAAC,0BAA0B,CAAC,GAAG,CAC5E,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
var __typeError = (msg) => {
|
|
2
|
+
throw TypeError(msg);
|
|
3
|
+
};
|
|
4
|
+
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
|
|
5
|
+
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
|
|
6
|
+
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
7
|
+
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
8
|
+
import { property } from "lit/decorators.js";
|
|
9
|
+
var __defProp = Object.defineProperty;
|
|
10
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
12
|
+
var result = __getOwnPropDesc(target, key);
|
|
13
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
14
|
+
if (decorator = decorators[i])
|
|
15
|
+
result = decorator(target, key, result) || result;
|
|
16
|
+
if (result) __defProp(target, key, result);
|
|
17
|
+
return result;
|
|
18
|
+
};
|
|
19
|
+
const DEFAULT_LANG = "en";
|
|
20
|
+
const LocalizationMixin = (superClass, defaultLang = DEFAULT_LANG) => {
|
|
21
|
+
var _lang, _a;
|
|
22
|
+
const _LocalizationMixinClass = (_a = class extends superClass {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
// Static because not dependent on the instance
|
|
26
|
+
__privateAdd(this, _lang);
|
|
27
|
+
}
|
|
28
|
+
get DEFAULT_LANG() {
|
|
29
|
+
return _a.DEFAULT_LANG;
|
|
30
|
+
}
|
|
31
|
+
get lang() {
|
|
32
|
+
return __privateGet(this, _lang) || this.DEFAULT_LANG;
|
|
33
|
+
}
|
|
34
|
+
set lang(value) {
|
|
35
|
+
if (value && __privateGet(this, _lang) !== value) {
|
|
36
|
+
__privateSet(this, _lang, value);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
connectedCallback() {
|
|
40
|
+
super.connectedCallback();
|
|
41
|
+
const LANG_ATTR = "lang";
|
|
42
|
+
let lang = __privateGet(this, _lang) || this.getAttribute(LANG_ATTR);
|
|
43
|
+
if (!lang) {
|
|
44
|
+
let element = this.parentElement;
|
|
45
|
+
while (element) {
|
|
46
|
+
if (element.hasAttribute(LANG_ATTR)) {
|
|
47
|
+
lang = element.getAttribute(LANG_ATTR) || lang;
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
element = element.parentNode instanceof ShadowRoot ? element.parentNode.host : element.parentElement;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
this.lang = lang || document.documentElement.lang || this.DEFAULT_LANG;
|
|
54
|
+
}
|
|
55
|
+
}, _lang = new WeakMap(), _a.DEFAULT_LANG = defaultLang, _a);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
property()
|
|
58
|
+
], _LocalizationMixinClass.prototype, "lang");
|
|
59
|
+
let LocalizationMixinClass = _LocalizationMixinClass;
|
|
60
|
+
return LocalizationMixinClass;
|
|
61
|
+
};
|
|
62
|
+
export {
|
|
63
|
+
LocalizationMixin as default
|
|
64
|
+
};
|
|
@@ -2,5 +2,9 @@ import { ComplexAttributeConverter } from 'lit';
|
|
|
2
2
|
type AttributeConverterFrom<T> = NonNullable<ComplexAttributeConverter<T>['fromAttribute']>;
|
|
3
3
|
export declare const arrayFromTokenList: AttributeConverterFrom<Array<unknown> | null>;
|
|
4
4
|
export declare const arrayFromCommaList: AttributeConverterFrom<Array<unknown> | null>;
|
|
5
|
+
export declare const allowedValuesConverter: <T extends string, const AllowedValues extends readonly T[]>(allowedValues: AllowedValues, defaultValue?: AllowedValues[number]) => {
|
|
6
|
+
fromAttribute: (value: string | null) => AllowedValues[number] | undefined extends undefined ? T | undefined : T;
|
|
7
|
+
toAttribute: (value: AllowedValues[number] | undefined extends undefined ? T | undefined : T) => string;
|
|
8
|
+
};
|
|
5
9
|
export {};
|
|
6
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/converters/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,KAAK,CAAC;AAErD,KAAK,sBAAsB,CAAC,CAAC,IAAI,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;AAqB5F,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAA+B,CAAC;AAC7G,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/converters/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,KAAK,CAAC;AAErD,KAAK,sBAAsB,CAAC,CAAC,IAAI,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;AAqB5F,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAA+B,CAAC;AAC7G,eAAO,MAAM,kBAAkB,EAAE,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAA6B,CAAC;AAE3G,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,MAAM,EAAE,KAAK,CAAC,aAAa,SAAS,SAAS,CAAC,EAAE,EAC/F,eAAe,aAAa,EAC5B,eAAe,aAAa,CAAC,MAAM,CAAC;2BAIX,MAAM,GAAG,IAAI;qGAWF,MAAM;CAE3C,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const createArrayConverter = (delimiter) => (value) => {
|
|
2
|
+
if (value === null || value === "") {
|
|
3
|
+
return null;
|
|
4
|
+
}
|
|
5
|
+
const split = (value2) => value2.trim().split(delimiter).map((i) => i.trim());
|
|
6
|
+
try {
|
|
7
|
+
const json = value ? JSON.parse(value) : value;
|
|
8
|
+
return Array.isArray(json) ? json : null;
|
|
9
|
+
} catch {
|
|
10
|
+
return split(value);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const arrayFromTokenList = createArrayConverter(/\s+/);
|
|
14
|
+
const arrayFromCommaList = createArrayConverter(",");
|
|
15
|
+
const allowedValuesConverter = (allowedValues, defaultValue) => {
|
|
16
|
+
return {
|
|
17
|
+
fromAttribute: (value) => {
|
|
18
|
+
if (value && allowedValues.includes(value)) {
|
|
19
|
+
return value;
|
|
20
|
+
}
|
|
21
|
+
if (defaultValue !== void 0) {
|
|
22
|
+
console.warn(`Invalid value "${value}". Using default "${defaultValue}".`);
|
|
23
|
+
return defaultValue;
|
|
24
|
+
}
|
|
25
|
+
console.warn(`Invalid value "${value}".`);
|
|
26
|
+
return void 0;
|
|
27
|
+
},
|
|
28
|
+
toAttribute: (value) => value ?? ""
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
allowedValuesConverter,
|
|
33
|
+
arrayFromCommaList,
|
|
34
|
+
arrayFromTokenList
|
|
35
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/sr-only/index.ts"],"names":[],"mappings":";AAEA,wBAaE"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
const srOnly = css`
|
|
3
|
+
/* stylelint-disable */
|
|
4
|
+
.sr-only {
|
|
5
|
+
position: absolute;
|
|
6
|
+
inline-size: 1px;
|
|
7
|
+
block-size: 1px;
|
|
8
|
+
padding: 0;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
clip: rect(0, 0, 0, 0);
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
border-width: 0;
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
export {
|
|
17
|
+
srOnly as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const nl = {
|
|
2
|
+
red: "rood",
|
|
3
|
+
orange: "oranje",
|
|
4
|
+
yellow: "geel",
|
|
5
|
+
green: "groen",
|
|
6
|
+
blue: "blauw",
|
|
7
|
+
purple: "paars",
|
|
8
|
+
pink: "roze",
|
|
9
|
+
brown: "bruin",
|
|
10
|
+
black: "zwart",
|
|
11
|
+
white: "wit",
|
|
12
|
+
gray: "grijs",
|
|
13
|
+
cyan: "cyaan",
|
|
14
|
+
magenta: "magenta",
|
|
15
|
+
indigo: "indigo"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
nl as default
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nl-design-system-community/clippy-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -25,32 +25,35 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@amsterdam/design-system-css": "2.2.0",
|
|
28
|
-
"@nl-design-system-candidate/button-css": "1.
|
|
29
|
-
"@nl-design-system-candidate/code-css": "2.0.
|
|
30
|
-
"@nl-design-system-candidate/color-sample-css": "1.0.
|
|
28
|
+
"@nl-design-system-candidate/button-css": "1.1.0",
|
|
29
|
+
"@nl-design-system-candidate/code-css": "2.0.5",
|
|
30
|
+
"@nl-design-system-candidate/color-sample-css": "1.0.5",
|
|
31
31
|
"@nl-design-system-candidate/heading-css": "1.1.3",
|
|
32
|
-
"@tabler/icons": "3.
|
|
33
|
-
"@utrecht/button-css": "3.0
|
|
32
|
+
"@tabler/icons": "3.40.0",
|
|
33
|
+
"@utrecht/button-css": "3.1.0",
|
|
34
34
|
"@utrecht/combobox-css": "2.0.1",
|
|
35
|
-
"@utrecht/listbox-css": "2.0
|
|
36
|
-
"@utrecht/textbox-css": "3.0
|
|
37
|
-
"colorjs.io": "0.6.
|
|
35
|
+
"@utrecht/listbox-css": "2.1.0",
|
|
36
|
+
"@utrecht/textbox-css": "3.1.0",
|
|
37
|
+
"colorjs.io": "0.6.1",
|
|
38
|
+
"debounce": "3.0.0",
|
|
39
|
+
"dequal": "2.0.3",
|
|
38
40
|
"lit": "3.3.2",
|
|
39
41
|
"memoize": "10.2.0"
|
|
40
42
|
},
|
|
41
43
|
"devDependencies": {
|
|
42
44
|
"@types/dlv": "1.1.5",
|
|
43
45
|
"@types/react": "18.3.23",
|
|
44
|
-
"@vitest/browser-playwright": "4.0
|
|
45
|
-
"@vitest/coverage-v8": "4.0
|
|
46
|
-
"glob": "13.0.
|
|
47
|
-
"playwright": "1.
|
|
48
|
-
"postcss-lit": "1.
|
|
49
|
-
"rimraf": "6.1.
|
|
46
|
+
"@vitest/browser-playwright": "4.1.0",
|
|
47
|
+
"@vitest/coverage-v8": "4.1.0",
|
|
48
|
+
"glob": "13.0.6",
|
|
49
|
+
"playwright": "1.58.2",
|
|
50
|
+
"postcss-lit": "1.4.1",
|
|
51
|
+
"rimraf": "6.1.3",
|
|
50
52
|
"typescript": "5.9.3",
|
|
51
53
|
"vite": "7.3.0",
|
|
52
54
|
"vite-plugin-dts": "4.5.4",
|
|
53
|
-
"vitest": "4.0
|
|
55
|
+
"vitest": "4.1.0",
|
|
56
|
+
"@nl-design-system-community/design-tokens-schema": "2.0.0"
|
|
54
57
|
},
|
|
55
58
|
"scripts": {
|
|
56
59
|
"dev": "vite build --watch --mode development",
|
package/dist/en-B-D8DBsf.js
DELETED