@nldd/design-system 0.16.2 → 0.17.1
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/README.md +2 -1
- package/custom-elements.json +1376 -415
- package/dist/components/components.js +1438 -356
- package/dist/components/content/blockquote/blockquote.d.ts +11 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +39 -0
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +42 -1
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +7 -0
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.js +393 -393
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.template.js +1 -1
- package/dist/components/content/text/text.d.ts +21 -3
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +41 -1
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts +2 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +88 -2
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/title/title.d.ts +1 -3
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +5 -79
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/{decorate-CtaxGuuh.js → decorate-D2HtKmpx.js} +1 -1
- package/dist/components/{defer-focus-CC5RVvh6.js → defer-focus-JRj1EYUV.js} +2 -2
- package/dist/components/{dev-checks-a7fZ6hgC.js → dev-checks-BPjCXw_r.js} +109 -12
- package/dist/components/icon-DU_IMj2t.js +968 -0
- package/dist/components/{icon-button-DJPpMxWn.js → icon-button-BgeikVnm.js} +3 -3
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +172 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +447 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts +2 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +188 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts +4 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.d.ts.map +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js +64 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.template.js.map +1 -0
- package/dist/components/inputs/search-field/search-field.d.ts +4 -2
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +5 -4
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +4 -3
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +14 -0
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +51 -1
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +21 -1
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +5 -0
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/{just-in-time-education.i18n-S05IOgqk.js → just-in-time-education.i18n-eCghRteQ.js} +10 -10
- package/dist/components/layout/{task-board/task-board-column.d.ts → column-board/column-board-column.d.ts} +5 -5
- package/dist/components/layout/column-board/column-board-column.d.ts.map +1 -0
- package/dist/components/layout/{task-board/task-board-column.js → column-board/column-board-column.js} +34 -34
- package/dist/components/layout/column-board/column-board-column.js.map +1 -0
- package/dist/components/layout/column-board/column-board-column.template.d.ts +3 -0
- package/dist/components/layout/column-board/column-board-column.template.d.ts.map +1 -0
- package/dist/components/layout/{task-board/task-board-column.template.js → column-board/column-board-column.template.js} +10 -10
- package/dist/components/layout/column-board/column-board-column.template.js.map +1 -0
- package/dist/components/layout/{task-board/task-board.d.ts → column-board/column-board.d.ts} +21 -21
- package/dist/components/layout/column-board/column-board.d.ts.map +1 -0
- package/dist/components/layout/column-board/column-board.i18n.d.ts +11 -0
- package/dist/components/layout/column-board/column-board.i18n.d.ts.map +1 -0
- package/dist/components/layout/column-board/column-board.i18n.js +10 -0
- package/dist/components/layout/column-board/column-board.i18n.js.map +1 -0
- package/dist/components/layout/{task-board/task-board.js → column-board/column-board.js} +43 -43
- package/dist/components/layout/column-board/column-board.js.map +1 -0
- package/dist/components/layout/column-board/column-board.styles.d.ts +3 -0
- package/dist/components/layout/column-board/column-board.styles.d.ts.map +1 -0
- package/dist/components/layout/column-board/column-board.styles.js +260 -0
- package/dist/components/layout/column-board/column-board.styles.js.map +1 -0
- package/dist/components/layout/column-board/column-board.template.d.ts +3 -0
- package/dist/components/layout/column-board/column-board.template.d.ts.map +1 -0
- package/dist/components/layout/{task-board/task-board.template.js → column-board/column-board.template.js} +5 -5
- package/dist/components/layout/column-board/column-board.template.js.map +1 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +15 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +5 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/{nl.generated-CUo20aPV.js → nl.generated-B0pvf8VH.js} +2 -2
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +32 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +59 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.js +4 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +15 -8
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +30 -12
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +7 -2
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +31 -19
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/components/{visibility-mixin-CwMutpAK.js → visibility-mixin-Dti3xE8R.js} +1 -1
- package/dist/nldd.min.js +2256 -1815
- package/dist/translations/en-US.js +7 -7
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +7 -7
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +7 -7
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +7 -7
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +7 -7
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +129 -50
- package/dist/utilities/custom-font-size.d.ts +19 -0
- package/dist/utilities/custom-font-size.d.ts.map +1 -0
- package/dist/utilities/custom-font-size.js +90 -0
- package/dist/utilities/custom-font-size.js.map +1 -0
- package/dist/utilities/dev-checks.d.ts +7 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +23 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +94 -14
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/file-drag-and-drop.js +1 -1
- package/dist/utilities/file-drag-and-drop.js.map +1 -1
- package/dist/utilities/status-bar-change.d.ts +7 -0
- package/dist/utilities/status-bar-change.d.ts.map +1 -0
- package/dist/utilities/status-bar-change.js +7 -0
- package/dist/utilities/status-bar-change.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/package.json +9 -5
- package/dist/components/icon-Bkdlj87q.js +0 -968
- package/dist/components/layout/task-board/task-board-column.d.ts.map +0 -1
- package/dist/components/layout/task-board/task-board-column.js.map +0 -1
- package/dist/components/layout/task-board/task-board-column.template.d.ts +0 -3
- package/dist/components/layout/task-board/task-board-column.template.d.ts.map +0 -1
- package/dist/components/layout/task-board/task-board-column.template.js.map +0 -1
- package/dist/components/layout/task-board/task-board.d.ts.map +0 -1
- package/dist/components/layout/task-board/task-board.i18n.d.ts +0 -11
- package/dist/components/layout/task-board/task-board.i18n.d.ts.map +0 -1
- package/dist/components/layout/task-board/task-board.i18n.js +0 -10
- package/dist/components/layout/task-board/task-board.i18n.js.map +0 -1
- package/dist/components/layout/task-board/task-board.js.map +0 -1
- package/dist/components/layout/task-board/task-board.styles.d.ts +0 -3
- package/dist/components/layout/task-board/task-board.styles.d.ts.map +0 -1
- package/dist/components/layout/task-board/task-board.styles.js +0 -260
- package/dist/components/layout/task-board/task-board.styles.js.map +0 -1
- package/dist/components/layout/task-board/task-board.template.d.ts +0 -3
- package/dist/components/layout/task-board/task-board.template.d.ts.map +0 -1
- package/dist/components/layout/task-board/task-board.template.js.map +0 -1
|
@@ -5,18 +5,28 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @element nldd-blockquote
|
|
7
7
|
* @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
|
|
8
|
+
* @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own size at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to the quote's own size
|
|
9
|
+
* @attr {string} md-custom-size - The same, at md
|
|
10
|
+
* @attr {string} lg-custom-size - The same, at lg
|
|
8
11
|
*
|
|
9
12
|
* @slot - The paragraph or paragraphs of the quote; prefer <p> elements
|
|
10
13
|
* @slot attribution - Optional source attribution (author, title, and so on). An nldd-identity is allowed here; the em dash ("— ") is then left out.
|
|
11
14
|
*/
|
|
12
|
-
import { LitElement } from 'lit';
|
|
15
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
13
16
|
export declare class NLDDBlockquote extends LitElement {
|
|
14
17
|
static styles: import("lit").CSSResult;
|
|
15
18
|
cite: string | undefined;
|
|
19
|
+
smCustomSize: string;
|
|
20
|
+
mdCustomSize: string;
|
|
21
|
+
lgCustomSize: string;
|
|
16
22
|
_hasAttribution: boolean;
|
|
17
23
|
_hasIdentityAttribution: boolean;
|
|
18
24
|
/** @internal */
|
|
19
25
|
_handleAttributionSlotChange: (e: Event) => void;
|
|
26
|
+
/** The valid custom size per breakpoint, worked out before the first paint. */
|
|
27
|
+
private _customSizes;
|
|
28
|
+
willUpdate(changed: PropertyValues): void;
|
|
29
|
+
updated(changed: PropertyValues): void;
|
|
20
30
|
render(): import("lit-html").TemplateResult<1>;
|
|
21
31
|
}
|
|
22
32
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"blockquote.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAetD,qBACa,cAAe,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAoB;IAG1C,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,YAAY,SAAM;IAGlB,eAAe,UAAS;IAGxB,uBAAuB,UAAS;IAEhC,gBAAgB;IAChB,4BAA4B,GAAI,GAAG,KAAK,KAAG,IAAI,CAY7C;IAEF,+EAA+E;IAC/E,OAAO,CAAC,YAAY,CAA2C;IAEtD,UAAU,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAMzC,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAQtC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,iBAAiB,EAAE,cAAc,CAAC;KAClC;CACD"}
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @element nldd-blockquote
|
|
7
7
|
* @attr {string} cite - URL of the source (forwarded to the <blockquote> element)
|
|
8
|
+
* @attr {string} sm-custom-size - A size of your own for the quote at sm, any CSS length (e.g. '32px', '2rem', 'clamp(1.5rem, 4vw, 3rem)'), for a quote that stands out on its own, such as on a landing page. A quote in running text keeps its own size. Set per breakpoint on purpose: a breakpoint without one keeps the quote's own size, so a quote made large for a wide screen never breaks a narrow one. Never smaller than the quote's own size at the same breakpoint: a smaller value shows at that size, and a fixed length that is smaller says so in development (a relative value, such as vw, em or a percentage, is not checked there; the floor still holds). Only the quote grows, with its line height and the space between paragraphs; the attribution and the border stay as they are. An invalid value falls back to the quote's own size
|
|
9
|
+
* @attr {string} md-custom-size - The same, at md
|
|
10
|
+
* @attr {string} lg-custom-size - The same, at lg
|
|
8
11
|
*
|
|
9
12
|
* @slot - The paragraph or paragraphs of the quote; prefer <p> elements
|
|
10
13
|
* @slot attribution - Optional source attribution (author, title, and so on). An nldd-identity is allowed here; the em dash ("— ") is then left out.
|
|
@@ -18,12 +21,23 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
21
|
import { LitElement } from 'lit';
|
|
19
22
|
import { property, state } from 'lit/decorators.js';
|
|
20
23
|
import { customElement } from '../../../utilities/custom-element.js';
|
|
24
|
+
import { applyCustomFontSizes, checkCustomFontSizeFloor } from '../../../utilities/custom-font-size.js';
|
|
25
|
+
import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
21
26
|
import { blockquoteStyles } from './blockquote.styles.js';
|
|
22
27
|
import { template } from './blockquote.template.js';
|
|
28
|
+
/** The quote's own font size per breakpoint: the floor of a custom size. */
|
|
29
|
+
const QUOTE_FONT_SIZE = {
|
|
30
|
+
sm: 'var(--primitives-font-size-200)',
|
|
31
|
+
md: 'var(--primitives-font-size-300)',
|
|
32
|
+
lg: 'var(--primitives-font-size-300)',
|
|
33
|
+
};
|
|
23
34
|
let NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
24
35
|
constructor() {
|
|
25
36
|
super(...arguments);
|
|
26
37
|
this.cite = undefined;
|
|
38
|
+
this.smCustomSize = '';
|
|
39
|
+
this.mdCustomSize = '';
|
|
40
|
+
this.lgCustomSize = '';
|
|
27
41
|
this._hasAttribution = false;
|
|
28
42
|
this._hasIdentityAttribution = false;
|
|
29
43
|
/** @internal */
|
|
@@ -41,6 +55,22 @@ let NLDDBlockquote = class NLDDBlockquote extends LitElement {
|
|
|
41
55
|
// bundling) nldd-identity into every blockquote consumer.
|
|
42
56
|
this._hasIdentityAttribution = slot.assignedElements({ flatten: true }).some(el => el.tagName === 'NLDD-IDENTITY');
|
|
43
57
|
};
|
|
58
|
+
/** The valid custom size per breakpoint, worked out before the first paint. */
|
|
59
|
+
this._customSizes = {};
|
|
60
|
+
}
|
|
61
|
+
willUpdate(changed) {
|
|
62
|
+
super.willUpdate(changed);
|
|
63
|
+
if (!changed.has('smCustomSize') && !changed.has('mdCustomSize') && !changed.has('lgCustomSize'))
|
|
64
|
+
return;
|
|
65
|
+
this._customSizes = applyCustomFontSizes(this, 'blockquote', { sm: this.smCustomSize, md: this.mdCustomSize, lg: this.lgCustomSize });
|
|
66
|
+
}
|
|
67
|
+
updated(changed) {
|
|
68
|
+
super.updated(changed);
|
|
69
|
+
if (!import.meta.env?.DEV)
|
|
70
|
+
return;
|
|
71
|
+
if (changed.has('smCustomSize') || changed.has('mdCustomSize') || changed.has('lgCustomSize')) {
|
|
72
|
+
checkCustomFontSizeFloor(this, this._customSizes, QUOTE_FONT_SIZE);
|
|
73
|
+
}
|
|
44
74
|
}
|
|
45
75
|
render() {
|
|
46
76
|
return template(this);
|
|
@@ -50,6 +80,15 @@ NLDDBlockquote.styles = blockquoteStyles;
|
|
|
50
80
|
__decorate([
|
|
51
81
|
property({ type: String })
|
|
52
82
|
], NLDDBlockquote.prototype, "cite", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
property({ reflect: true, attribute: 'sm-custom-size', converter: reflectNonDefault('') })
|
|
85
|
+
], NLDDBlockquote.prototype, "smCustomSize", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
property({ reflect: true, attribute: 'md-custom-size', converter: reflectNonDefault('') })
|
|
88
|
+
], NLDDBlockquote.prototype, "mdCustomSize", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
property({ reflect: true, attribute: 'lg-custom-size', converter: reflectNonDefault('') })
|
|
91
|
+
], NLDDBlockquote.prototype, "lgCustomSize", void 0);
|
|
53
92
|
__decorate([
|
|
54
93
|
state()
|
|
55
94
|
], NLDDBlockquote.prototype, "_hasAttribution", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"blockquote.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAmB,MAAM,wCAAwC,CAAC;AACzH,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,4EAA4E;AAC5E,MAAM,eAAe,GAA+B;IACnD,EAAE,EAAE,iCAAiC;IACrC,EAAE,EAAE,iCAAiC;IACrC,EAAE,EAAE,iCAAiC;CACrC,CAAC;AAGK,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,UAAU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K,EAAE;+DACwB;AAnBpB,cAAc;IAD1B,aAAa,CAAC,iBAAiB,CAAC;GACpB,cAAc,CAwD1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"blockquote.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,yBA2H5B,CAAC"}
|
|
@@ -2,6 +2,9 @@ import { css, unsafeCSS } from 'lit';
|
|
|
2
2
|
import { queryBreakpoints } from '../../../assets/styles/breakpoints.js';
|
|
3
3
|
import { slottedReset, inheritedTextReset } from '../../../assets/styles/shadow-resets.js';
|
|
4
4
|
const smMax = unsafeCSS(queryBreakpoints.smMax);
|
|
5
|
+
const mdMin = unsafeCSS(queryBreakpoints.mdMin);
|
|
6
|
+
const mdMax = unsafeCSS(queryBreakpoints.mdMax);
|
|
7
|
+
const lgMin = unsafeCSS(queryBreakpoints.lgMin);
|
|
5
8
|
export const blockquoteStyles = css `
|
|
6
9
|
:host {
|
|
7
10
|
box-sizing: border-box;
|
|
@@ -14,6 +17,12 @@ export const blockquoteStyles = css `
|
|
|
14
17
|
--_blockquote-spacing: var(--semantics-blockquotes-md-spacing);
|
|
15
18
|
--_blockquote-quote-font: var(--semantics-blockquotes-md-quote-font);
|
|
16
19
|
--_blockquote-attribution-font: var(--semantics-blockquotes-md-attribution-font);
|
|
20
|
+
--_blockquote-sm-custom-size: initial;
|
|
21
|
+
--_blockquote-md-custom-size: initial;
|
|
22
|
+
--_blockquote-lg-custom-size: initial;
|
|
23
|
+
--_blockquote-sm-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-sm-custom-size), var(--primitives-font-size-200)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
|
|
24
|
+
--_blockquote-md-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-md-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
|
|
25
|
+
--_blockquote-lg-custom-font: italic var(--primitives-font-weight-body-regular) max(var(--_blockquote-lg-custom-size), var(--primitives-font-size-300)) / var(--primitives-line-height-snug) var(--primitives-font-family-body);
|
|
17
26
|
|
|
18
27
|
@media (max-width: ${smMax}) {
|
|
19
28
|
--_blockquote-spacing: var(--semantics-blockquotes-sm-spacing);
|
|
@@ -36,6 +45,38 @@ export const blockquoteStyles = css `
|
|
|
36
45
|
display: none;
|
|
37
46
|
}
|
|
38
47
|
|
|
48
|
+
/* ## Custom size */
|
|
49
|
+
|
|
50
|
+
:host([data-sm-custom-size]) {
|
|
51
|
+
@media (max-width: ${smMax}) {
|
|
52
|
+
--_blockquote-quote-font: var(--_blockquote-sm-custom-font);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@container layout-container (max-width: ${smMax}) {
|
|
56
|
+
--_blockquote-quote-font: var(--_blockquote-sm-custom-font);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host([data-md-custom-size]) {
|
|
61
|
+
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
62
|
+
--_blockquote-quote-font: var(--_blockquote-md-custom-font);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
66
|
+
--_blockquote-quote-font: var(--_blockquote-md-custom-font);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host([data-lg-custom-size]) {
|
|
71
|
+
@media (min-width: ${lgMin}) {
|
|
72
|
+
--_blockquote-quote-font: var(--_blockquote-lg-custom-font);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@container layout-container (min-width: ${lgMin}) {
|
|
76
|
+
--_blockquote-quote-font: var(--_blockquote-lg-custom-font);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
39
80
|
|
|
40
81
|
/* # Block */
|
|
41
82
|
|
|
@@ -57,7 +98,7 @@ export const blockquoteStyles = css `
|
|
|
57
98
|
.blockquote__quote {
|
|
58
99
|
display: flex;
|
|
59
100
|
flex-direction: column;
|
|
60
|
-
gap: calc(
|
|
101
|
+
gap: calc(1lh / 2);
|
|
61
102
|
font: var(--_blockquote-quote-font);
|
|
62
103
|
}
|
|
63
104
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.styles.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"blockquote.styles.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;uBAmBZ,KAAK;;;;;;4CAMgB,KAAK;;;;;;IAM7C,kBAAkB;;;;;;;;;;;;uBAYC,KAAK;;;;4CAIgB,KAAK;;;;;;uBAM1B,KAAK,qBAAqB,KAAK;;;;4CAIV,KAAK,qBAAqB,KAAK;;;;;;uBAMpD,KAAK;;;;4CAIgB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgD7C,YAAY;IACZ,kBAAkB;;;;;;;CAOrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-gallery-status.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-gallery-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-gallery-status.d.ts","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-gallery-status.ts"],"names":[],"mappings":"AAmCA,eAAO,MAAM,SAAS,aAmCpB,CAAC;AAEH,eAAO,MAAM,aAAa,aAoBxB,CAAC"}
|
|
@@ -15,8 +15,15 @@
|
|
|
15
15
|
// so the sets only move when someone recomputes them.
|
|
16
16
|
//
|
|
17
17
|
// git log --since=2026-10-07T00:00 --reverse --find-renames --name-status --format= \
|
|
18
|
+
// --invert-grep --grep='^refactor(icon): move every icon to the 96 grid' \
|
|
18
19
|
// -- src/components/content/icon/icons
|
|
19
20
|
//
|
|
21
|
+
// The --grep skips the commit that moved every icon from the 24 and 32 grids to
|
|
22
|
+
// 96. It rewrote every file without changing a single drawing, so without it
|
|
23
|
+
// the whole gallery reads as updated. Keep the filter as long as that commit
|
|
24
|
+
// falls inside the window; while it is still uncommitted, leave it out of the
|
|
25
|
+
// "uncommitted counts as new" rule above.
|
|
26
|
+
//
|
|
20
27
|
// Read those events oldest first and chain renames forward to today's filename.
|
|
21
28
|
// An icon born inside the window is new, under whatever name it ended up with;
|
|
22
29
|
// an icon that was only changed or renamed inside the window is updated; a name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-gallery-status.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-gallery-status.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,6EAA6E;AAC7E,2DAA2D;AAC3D,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,+EAA+E;AAC/E,6EAA6E;AAC7E,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,0EAA0E;AAC1E,4EAA4E;AAC5E,gFAAgF;AAChF,sDAAsD;AACtD,EAAE;AACF,wFAAwF;AACxF,2CAA2C;AAC3C,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,0EAA0E;AAC1E,EAAE;AACF,yEAAyE;AACzE,4EAA4E;AAC5E,mEAAmE;AAEnE,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IAChC,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,eAAe;IACf,aAAa;IACb,YAAY;IACZ,KAAK;IACL,WAAW;IACX,UAAU;IACV,WAAW;IACX,UAAU;IACV,eAAe;IACf,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,WAAW;IACX,QAAQ;IACR,yBAAyB;IACzB,kBAAkB;IAClB,MAAM;IACN,YAAY;IACZ,mBAAmB;IACnB,mBAAmB;IACnB,KAAK;IACL,eAAe;IACf,WAAW;IACX,aAAa;IACb,QAAQ;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;IACpC,MAAM;IACN,qBAAqB;IACrB,0BAA0B;IAC1B,wBAAwB;IACxB,YAAY;IACZ,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,eAAe;IACf,UAAU;IACV,iBAAiB;IACjB,eAAe;IACf,WAAW;IACX,kBAAkB;IAClB,YAAY;CACZ,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"icon-gallery-status.js","sourceRoot":"","sources":["../../../../src/components/content/icon/icon-gallery-status.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,6EAA6E;AAC7E,2DAA2D;AAC3D,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,+EAA+E;AAC/E,6EAA6E;AAC7E,EAAE;AACF,6EAA6E;AAC7E,6EAA6E;AAC7E,0EAA0E;AAC1E,4EAA4E;AAC5E,gFAAgF;AAChF,sDAAsD;AACtD,EAAE;AACF,wFAAwF;AACxF,+EAA+E;AAC/E,2CAA2C;AAC3C,EAAE;AACF,gFAAgF;AAChF,6EAA6E;AAC7E,6EAA6E;AAC7E,8EAA8E;AAC9E,0CAA0C;AAC1C,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,0EAA0E;AAC1E,EAAE;AACF,yEAAyE;AACzE,4EAA4E;AAC5E,mEAAmE;AAEnE,MAAM,CAAC,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IAChC,oBAAoB;IACpB,kBAAkB;IAClB,mBAAmB;IACnB,eAAe;IACf,aAAa;IACb,YAAY;IACZ,KAAK;IACL,WAAW;IACX,UAAU;IACV,WAAW;IACX,UAAU;IACV,eAAe;IACf,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,WAAW;IACX,QAAQ;IACR,yBAAyB;IACzB,kBAAkB;IAClB,MAAM;IACN,YAAY;IACZ,mBAAmB;IACnB,mBAAmB;IACnB,KAAK;IACL,eAAe;IACf,WAAW;IACX,aAAa;IACb,QAAQ;CACR,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;IACpC,MAAM;IAC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