@lion/ui 0.11.1 → 0.11.2
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 -2
- package/components/combobox/test/lion-combobox.test.js +75 -1
- package/components/localize/src/date/parseDate.js +6 -1
- package/components/localize/src/date/utils/checkYearFormat.js +8 -0
- package/components/localize/test/date/parseDate.test.js +6 -0
- package/custom-elements.json +63 -30
- package/dist-types/components/localize/src/date/parseDate.d.ts.map +1 -1
- package/dist-types/components/localize/src/date/utils/checkYearFormat.d.ts +7 -0
- package/dist-types/components/localize/src/date/utils/checkYearFormat.d.ts.map +1 -0
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/accordion/api-table.md +13 -1
- package/docs/components/accordion/index.md +10 -0
- package/docs/components/accordion/overview.md +13 -1
- package/docs/components/accordion/reference.md +13 -1
- package/docs/components/accordion/use-cases.md +13 -1
- package/docs/components/button/api-table.md +13 -1
- package/docs/components/button/examples.md +13 -1
- package/docs/components/button/extensions.md +13 -1
- package/docs/components/button/index.md +11 -1
- package/docs/components/button/overview.md +13 -1
- package/docs/components/button/use-cases.md +13 -1
- package/docs/components/calendar/api-table.md +13 -1
- package/docs/components/calendar/index.md +11 -1
- package/docs/components/calendar/overview.md +13 -1
- package/docs/components/calendar/use-cases.md +13 -1
- package/docs/components/checkbox-group/api-table.md +13 -1
- package/docs/components/checkbox-group/index.md +11 -1
- package/docs/components/checkbox-group/overview.md +15 -3
- package/docs/components/checkbox-group/use-cases.md +13 -1
- package/docs/components/collapsible/api-table.md +13 -1
- package/docs/components/collapsible/examples.md +13 -1
- package/docs/components/collapsible/index.md +11 -1
- package/docs/components/collapsible/overview.md +14 -2
- package/docs/components/collapsible/use-cases.md +13 -1
- package/docs/components/combobox/api-table.md +13 -1
- package/docs/components/combobox/extensions.md +13 -1
- package/docs/components/combobox/index.md +11 -1
- package/docs/components/combobox/overview.md +14 -2
- package/docs/components/combobox/use-cases.md +14 -2
- package/docs/components/dialog/api-table.md +13 -1
- package/docs/components/dialog/index.md +11 -1
- package/docs/components/dialog/overview.md +14 -2
- package/docs/components/dialog/use-cases.md +13 -1
- package/docs/components/drawer/api-table.md +13 -1
- package/docs/components/drawer/index.md +11 -1
- package/docs/components/drawer/overview.md +13 -1
- package/docs/components/drawer/use-cases.md +13 -1
- package/docs/components/fieldset/api-table.md +13 -1
- package/docs/components/fieldset/index.md +11 -1
- package/docs/components/fieldset/overview.md +18 -6
- package/docs/components/fieldset/use-cases.md +13 -1
- package/docs/components/form/api-table.md +12 -1
- package/docs/components/form/index.md +11 -1
- package/docs/components/form/overview.md +16 -4
- package/docs/components/form/use-cases.md +15 -3
- package/docs/components/icon/api-table.md +13 -1
- package/docs/components/icon/index.md +11 -1
- package/docs/components/icon/overview.md +13 -1
- package/docs/components/icon/use-cases.md +14 -2
- package/docs/components/index.md +11 -1
- package/docs/components/input/api-table.md +13 -1
- package/docs/components/input/index.md +11 -1
- package/docs/components/input/overview.md +14 -2
- package/docs/components/input/use-cases.md +13 -1
- package/docs/components/input-amount/api-table.md +13 -1
- package/docs/components/input-amount/index.md +11 -1
- package/docs/components/input-amount/overview.md +16 -4
- package/docs/components/input-amount/use-cases.md +13 -1
- package/docs/components/input-date/api-table.md +13 -1
- package/docs/components/input-date/index.md +11 -1
- package/docs/components/input-date/overview.md +16 -4
- package/docs/components/input-date/use-cases.md +13 -1
- package/docs/components/input-datepicker/api-table.md +13 -1
- package/docs/components/input-datepicker/index.md +11 -1
- package/docs/components/input-datepicker/overview.md +18 -6
- package/docs/components/input-datepicker/use-cases.md +13 -1
- package/docs/components/input-email/api-table.md +13 -1
- package/docs/components/input-email/index.md +11 -1
- package/docs/components/input-email/overview.md +15 -3
- package/docs/components/input-email/use-cases.md +13 -1
- package/docs/components/input-file/api-table.md +13 -1
- package/docs/components/input-file/index.md +11 -1
- package/docs/components/input-file/overview.md +14 -2
- package/docs/components/input-file/use-cases.md +13 -1
- package/docs/components/input-iban/api-table.md +13 -1
- package/docs/components/input-iban/index.md +11 -1
- package/docs/components/input-iban/overview.md +15 -3
- package/docs/components/input-iban/use-cases.md +13 -1
- package/docs/components/input-range/api-table.md +13 -1
- package/docs/components/input-range/index.md +11 -1
- package/docs/components/input-range/overview.md +15 -3
- package/docs/components/input-range/use-cases.md +13 -1
- package/docs/components/input-stepper/api-table.md +13 -1
- package/docs/components/input-stepper/index.md +11 -1
- package/docs/components/input-stepper/overview.md +14 -2
- package/docs/components/input-stepper/use-cases.md +13 -1
- package/docs/components/input-tel/api-table.md +13 -1
- package/docs/components/input-tel/index.md +11 -1
- package/docs/components/input-tel/overview.md +14 -2
- package/docs/components/input-tel/use-cases.md +19 -7
- package/docs/components/input-tel-dropdown/api-table.md +13 -1
- package/docs/components/input-tel-dropdown/extensions.md +13 -1
- package/docs/components/input-tel-dropdown/index.md +11 -1
- package/docs/components/input-tel-dropdown/overview.md +14 -2
- package/docs/components/input-tel-dropdown/use-cases.md +13 -1
- package/docs/components/listbox/api-table.md +13 -1
- package/docs/components/listbox/index.md +11 -1
- package/docs/components/listbox/overview.md +13 -1
- package/docs/components/listbox/use-cases.md +14 -2
- package/docs/components/pagination/api-table.md +13 -1
- package/docs/components/pagination/index.md +11 -1
- package/docs/components/pagination/overview.md +13 -1
- package/docs/components/pagination/use-cases.md +13 -1
- package/docs/components/progress-indicator/api-table.md +13 -1
- package/docs/components/progress-indicator/examples.md +13 -1
- package/docs/components/progress-indicator/index.md +11 -1
- package/docs/components/progress-indicator/overview.md +13 -1
- package/docs/components/radio-group/api-table.md +13 -1
- package/docs/components/radio-group/index.md +11 -1
- package/docs/components/radio-group/overview.md +16 -4
- package/docs/components/radio-group/use-cases.md +13 -1
- package/docs/components/select/api-table.md +13 -1
- package/docs/components/select/index.md +11 -1
- package/docs/components/select/overview.md +13 -1
- package/docs/components/select/use-cases.md +14 -2
- package/docs/components/select-rich/api-table.md +13 -1
- package/docs/components/select-rich/examples.md +13 -1
- package/docs/components/select-rich/index.md +11 -1
- package/docs/components/select-rich/overview.md +13 -1
- package/docs/components/select-rich/use-cases.md +14 -2
- package/docs/components/steps/api-table.md +13 -1
- package/docs/components/steps/index.md +11 -1
- package/docs/components/steps/overview.md +13 -1
- package/docs/components/steps/use-cases.md +13 -1
- package/docs/components/switch/api-table.md +13 -1
- package/docs/components/switch/index.md +11 -1
- package/docs/components/switch/overview.md +13 -1
- package/docs/components/switch/reference.md +13 -1
- package/docs/components/switch/use-cases.md +13 -1
- package/docs/components/tabs/api-table.md +13 -1
- package/docs/components/tabs/examples.md +14 -2
- package/docs/components/tabs/index.md +11 -1
- package/docs/components/tabs/overview.md +13 -1
- package/docs/components/tabs/use-cases.md +13 -1
- package/docs/components/textarea/api-table.md +13 -1
- package/docs/components/textarea/index.md +11 -1
- package/docs/components/textarea/overview.md +13 -1
- package/docs/components/textarea/use-cases.md +13 -1
- package/docs/components/tooltip/api-table.md +13 -1
- package/docs/components/tooltip/examples.md +13 -1
- package/docs/components/tooltip/index.md +11 -1
- package/docs/components/tooltip/overview.md +13 -1
- package/docs/components/tooltip/use-cases.md +13 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/babel-plugin-extend-docs/index.md +12 -0
- package/docs/fundamentals/node-tools/babel-plugin-extend-docs/overview.md +13 -0
- package/docs/fundamentals/node-tools/index.md +10 -0
- package/docs/fundamentals/node-tools/providence-analytics/index.md +12 -0
- package/docs/fundamentals/node-tools/providence-analytics/overview.md +13 -0
- package/docs/fundamentals/node-tools/publish-docs/index.md +12 -0
- package/docs/fundamentals/node-tools/publish-docs/overview.md +16 -3
- package/docs/fundamentals/node-tools/remark-extend/index.md +12 -0
- package/docs/fundamentals/node-tools/remark-extend/overview.md +13 -0
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/index.md +12 -0
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +15 -2
- package/docs/fundamentals/rationales/TypeScript.md +12 -0
- package/docs/fundamentals/rationales/accessibility.md +13 -1
- package/docs/fundamentals/rationales/index.md +10 -0
- package/docs/fundamentals/rationales/side-effects.md +12 -0
- package/docs/fundamentals/rationales/versioning.md +12 -0
- package/docs/fundamentals/systems/core/SlotMixin.md +14 -1
- package/docs/fundamentals/systems/core/api-table.md +14 -1
- package/docs/fundamentals/systems/core/index.md +12 -0
- package/docs/fundamentals/systems/core/overview.md +14 -1
- package/docs/fundamentals/systems/form/api-table.md +14 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +17 -4
- package/docs/fundamentals/systems/form/index.md +12 -0
- package/docs/fundamentals/systems/form/interaction-states.md +13 -0
- package/docs/fundamentals/systems/form/model-value.md +14 -1
- package/docs/fundamentals/systems/form/overview.md +41 -28
- package/docs/fundamentals/systems/form/styling.md +13 -0
- package/docs/fundamentals/systems/form/use-cases.md +13 -0
- package/docs/fundamentals/systems/form/validate.md +15 -2
- package/docs/fundamentals/systems/icon/index.md +12 -0
- package/docs/fundamentals/systems/icon/overview.md +13 -0
- package/docs/fundamentals/systems/index.md +10 -0
- package/docs/fundamentals/systems/localize/api-table.md +14 -1
- package/docs/fundamentals/systems/localize/dates.md +13 -0
- package/docs/fundamentals/systems/localize/index.md +12 -0
- package/docs/fundamentals/systems/localize/numbers.md +13 -0
- package/docs/fundamentals/systems/localize/overview.md +17 -4
- package/docs/fundamentals/systems/localize/rationale.md +13 -0
- package/docs/fundamentals/systems/localize/text.md +13 -0
- package/docs/fundamentals/systems/localize/use-cases.md +13 -0
- package/docs/fundamentals/systems/overlays/_configuration-positioning.md +11 -0
- package/docs/fundamentals/systems/overlays/_edge-cases.md +10 -0
- package/docs/fundamentals/systems/overlays/api-table.md +14 -1
- package/docs/fundamentals/systems/overlays/configuration.md +15 -2
- package/docs/fundamentals/systems/overlays/index.md +12 -0
- package/docs/fundamentals/systems/overlays/overview.md +18 -5
- package/docs/fundamentals/systems/overlays/rationale.md +13 -0
- package/docs/fundamentals/systems/overlays/use-cases.md +15 -2
- package/docs/fundamentals/tools/ajax/index.md +12 -0
- package/docs/fundamentals/tools/ajax/overview.md +13 -0
- package/docs/fundamentals/tools/ajax/use-cases.md +13 -0
- package/docs/fundamentals/tools/helpers/action-logger.md +13 -0
- package/docs/fundamentals/tools/helpers/index.md +12 -0
- package/docs/fundamentals/tools/helpers/overview.md +14 -1
- package/docs/fundamentals/tools/index.md +10 -0
- package/docs/fundamentals/tools/singleton-manager/example-complex/index.md +13 -0
- package/docs/fundamentals/tools/singleton-manager/example-fail/index.md +13 -0
- package/docs/fundamentals/tools/singleton-manager/example-success/index.md +13 -0
- package/docs/fundamentals/tools/singleton-manager/index.md +12 -0
- package/docs/fundamentals/tools/singleton-manager/overview.md +17 -4
- package/docs/guides/how-to/create-a-custom-field.md +18 -6
- package/docs/guides/how-to/create-a-form.md +17 -5
- package/docs/guides/how-to/extend-a-native-input.md +15 -3
- package/docs/guides/how-to/get-started.md +13 -1
- package/docs/guides/how-to/index.md +11 -1
- package/docs/guides/index.md +19 -9
- package/docs/guides/principles/definitions-and-terms.md +13 -1
- package/docs/guides/principles/index.md +16 -6
- package/docs/guides/principles/scoped-elements.md +13 -1
- package/docs/guides/principles/styling.md +14 -2
- package/docs/guides/principles/subclasser-apis.md +13 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
<a href="https://lion.js.org/blog/">Blog</a>
|
|
38
38
|
</p>
|
|
39
39
|
|
|
40
|
-
**Lion is a set of highly performant, accessible and flexible Web Components
|
|
40
|
+
**Lion is a set of highly performant, accessible, and flexible Web Components.**
|
|
41
41
|
|
|
42
42
|
They provide an unopinionated, white-label layer that can be extended to your own layer of components.
|
|
43
43
|
|
|
44
44
|
- **High Performance:** Focused on great performance in all relevant browsers with a minimal number of dependencies.
|
|
45
45
|
- **Accessibility:** Aimed at compliance with the WCAG 2.2 AA standard to create components that are accessible for everybody.
|
|
46
46
|
- **Flexibility:** Provides solutions through Web Components and JavaScript classes which can be used, adopted and extended to fit all needs.
|
|
47
|
-
- **Modern Code:** Lion is
|
|
47
|
+
- **Modern Code:** Lion is distributed as pure es modules.
|
|
48
48
|
- **Exposes functions/classes and Web Components:** Ships a functionality in its most appropriate form.
|
|
49
49
|
|
|
50
50
|
> Note: Our demo examples might look simple and not very stylish. This is on purpose. They are designed to be basic so you can easily add your own styles to them to match your intended design, without dealing with styles that are already there.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineCE, expect, fixture, html, unsafeStatic } from '@open-wc/testing';
|
|
1
|
+
import { defineCE, expect, fixture, html, unsafeStatic, waitUntil } from '@open-wc/testing';
|
|
2
2
|
import { Required, Unparseable } from '@lion/ui/form-core.js';
|
|
3
3
|
import { sendKeys } from '@web/test-runner-commands';
|
|
4
4
|
import { LionCombobox } from '@lion/ui/combobox.js';
|
|
@@ -48,6 +48,80 @@ async function fruitFixture({ autocomplete, matchMode } = {}) {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
describe('lion-combobox', () => {
|
|
51
|
+
describe('Rendering on API change', () => {
|
|
52
|
+
it('renders when options changed', async () => {
|
|
53
|
+
const entries = [
|
|
54
|
+
{
|
|
55
|
+
id: '1',
|
|
56
|
+
label: 'Apple',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: '2',
|
|
60
|
+
label: 'Artichoke',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: '3',
|
|
64
|
+
label: 'Asparagus',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: '4',
|
|
68
|
+
label: 'Banana',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: '5',
|
|
72
|
+
label: 'Pineapple',
|
|
73
|
+
},
|
|
74
|
+
];
|
|
75
|
+
|
|
76
|
+
class Wrapper extends LitElement {
|
|
77
|
+
static properties = {
|
|
78
|
+
...super.properties,
|
|
79
|
+
entries: { type: Array },
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
constructor() {
|
|
83
|
+
super();
|
|
84
|
+
this.entries = entries;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
render() {
|
|
88
|
+
return html`<lion-combobox name="foo">
|
|
89
|
+
${this.entries.map(
|
|
90
|
+
entry => html`<lion-option .choiceValue="${entry.id}">${entry.label}</lion-option>`,
|
|
91
|
+
)}
|
|
92
|
+
</lion-combobox>`;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
const tagString = defineCE(Wrapper);
|
|
97
|
+
const tag = unsafeStatic(tagString);
|
|
98
|
+
const wrapperElement = /** @type {Wrapper} */ (await fixture(html`<${tag}></${tag}>`));
|
|
99
|
+
await waitUntil(
|
|
100
|
+
() =>
|
|
101
|
+
wrapperElement?.shadowRoot?.querySelector('lion-options')?.querySelectorAll('lion-option')
|
|
102
|
+
.length === entries.length,
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
wrapperElement.entries = [
|
|
106
|
+
{
|
|
107
|
+
id: '4',
|
|
108
|
+
label: 'Banana',
|
|
109
|
+
},
|
|
110
|
+
];
|
|
111
|
+
|
|
112
|
+
await waitUntil(
|
|
113
|
+
() =>
|
|
114
|
+
wrapperElement?.shadowRoot?.querySelector('lion-options')?.querySelectorAll('lion-option')
|
|
115
|
+
.length === wrapperElement.entries.length,
|
|
116
|
+
);
|
|
117
|
+
|
|
118
|
+
const optionElements = wrapperElement.shadowRoot?.querySelectorAll('lion-option');
|
|
119
|
+
expect(optionElements?.length).to.equal(wrapperElement.entries.length);
|
|
120
|
+
const optionElement = optionElements?.item(0);
|
|
121
|
+
expect(optionElement?.textContent).to.equal('Banana');
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
|
|
51
125
|
describe('Options visibility', () => {
|
|
52
126
|
it('hides options when text in input node is cleared after typing something by default', async () => {
|
|
53
127
|
const el = /** @type {LionCombobox} */ (
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { getDateFormatBasedOnLocale } from './getDateFormatBasedOnLocale.js';
|
|
2
2
|
import { getLocalizeManager } from '../getLocalizeManager.js';
|
|
3
3
|
import { addLeadingZero } from './utils/addLeadingZero.js';
|
|
4
|
+
import { isCorrectYearFormat } from './utils/checkYearFormat.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* @typedef {import('../../types/LocalizeMixinTypes.js').FormatDateOptions} FormatDateOptions
|
|
@@ -63,12 +64,16 @@ export function parseDate(dateString, options) {
|
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
const [year, month, day] = parsedString.split('/').map(Number);
|
|
67
|
+
const [yearString] = parsedString.split('/');
|
|
68
|
+
if (!isCorrectYearFormat(yearString)) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
66
71
|
let correctedYear = year;
|
|
67
72
|
if (year < 50) {
|
|
68
73
|
correctedYear = 2000 + year;
|
|
69
74
|
}
|
|
70
75
|
|
|
71
|
-
const parsedDate = new Date(
|
|
76
|
+
const parsedDate = new Date(correctedYear, month - 1, day);
|
|
72
77
|
// Check if parsedDate is not `Invalid Date` or that the date has changed (e.g. the not existing 31.02.2020)
|
|
73
78
|
if (
|
|
74
79
|
year > 0 &&
|
|
@@ -91,4 +91,10 @@ describe('parseDate()', () => {
|
|
|
91
91
|
expect(parseDate('02.31.2020')).to.equal(undefined); // non existing date
|
|
92
92
|
expect(parseDate('31.12.2020')).to.equal(undefined); // day & month switched places
|
|
93
93
|
});
|
|
94
|
+
|
|
95
|
+
it('returns undefined for incorrect year format', () => {
|
|
96
|
+
// TODO: we need a `> 0` check for day and month, but maybe consider `>= 0` for year?
|
|
97
|
+
expect(parseDate('12-12-0000')).to.equal(undefined);
|
|
98
|
+
expect(parseDate('12-12-999')).to.equal(undefined);
|
|
99
|
+
});
|
|
94
100
|
});
|
package/custom-elements.json
CHANGED
|
@@ -2100,36 +2100,6 @@
|
|
|
2100
2100
|
}
|
|
2101
2101
|
]
|
|
2102
2102
|
},
|
|
2103
|
-
{
|
|
2104
|
-
"kind": "javascript-module",
|
|
2105
|
-
"path": "exports/define-helpers/sb-action-logger.js",
|
|
2106
|
-
"declarations": [],
|
|
2107
|
-
"exports": [
|
|
2108
|
-
{
|
|
2109
|
-
"kind": "custom-element-definition",
|
|
2110
|
-
"name": "sb-action-logger",
|
|
2111
|
-
"declaration": {
|
|
2112
|
-
"name": "SbActionLogger",
|
|
2113
|
-
"module": "/exports/helpers.js"
|
|
2114
|
-
}
|
|
2115
|
-
}
|
|
2116
|
-
]
|
|
2117
|
-
},
|
|
2118
|
-
{
|
|
2119
|
-
"kind": "javascript-module",
|
|
2120
|
-
"path": "exports/define-helpers/sb-locale-switcher.js",
|
|
2121
|
-
"declarations": [],
|
|
2122
|
-
"exports": [
|
|
2123
|
-
{
|
|
2124
|
-
"kind": "custom-element-definition",
|
|
2125
|
-
"name": "sb-locale-switcher",
|
|
2126
|
-
"declaration": {
|
|
2127
|
-
"name": "SbLocaleSwitcher",
|
|
2128
|
-
"module": "/exports/helpers.js"
|
|
2129
|
-
}
|
|
2130
|
-
}
|
|
2131
|
-
]
|
|
2132
|
-
},
|
|
2133
2103
|
{
|
|
2134
2104
|
"kind": "javascript-module",
|
|
2135
2105
|
"path": "exports/define/lion-accordion.js",
|
|
@@ -2820,6 +2790,36 @@
|
|
|
2820
2790
|
}
|
|
2821
2791
|
]
|
|
2822
2792
|
},
|
|
2793
|
+
{
|
|
2794
|
+
"kind": "javascript-module",
|
|
2795
|
+
"path": "exports/define-helpers/sb-action-logger.js",
|
|
2796
|
+
"declarations": [],
|
|
2797
|
+
"exports": [
|
|
2798
|
+
{
|
|
2799
|
+
"kind": "custom-element-definition",
|
|
2800
|
+
"name": "sb-action-logger",
|
|
2801
|
+
"declaration": {
|
|
2802
|
+
"name": "SbActionLogger",
|
|
2803
|
+
"module": "/exports/helpers.js"
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
]
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"kind": "javascript-module",
|
|
2810
|
+
"path": "exports/define-helpers/sb-locale-switcher.js",
|
|
2811
|
+
"declarations": [],
|
|
2812
|
+
"exports": [
|
|
2813
|
+
{
|
|
2814
|
+
"kind": "custom-element-definition",
|
|
2815
|
+
"name": "sb-locale-switcher",
|
|
2816
|
+
"declaration": {
|
|
2817
|
+
"name": "SbLocaleSwitcher",
|
|
2818
|
+
"module": "/exports/helpers.js"
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
]
|
|
2822
|
+
},
|
|
2823
2823
|
{
|
|
2824
2824
|
"kind": "javascript-module",
|
|
2825
2825
|
"path": "components/accordion/src/LionAccordion.js",
|
|
@@ -145835,6 +145835,39 @@
|
|
|
145835
145835
|
}
|
|
145836
145836
|
]
|
|
145837
145837
|
},
|
|
145838
|
+
{
|
|
145839
|
+
"kind": "javascript-module",
|
|
145840
|
+
"path": "components/localize/src/date/utils/checkYearFormat.js",
|
|
145841
|
+
"declarations": [
|
|
145842
|
+
{
|
|
145843
|
+
"kind": "function",
|
|
145844
|
+
"name": "isCorrectYearFormat",
|
|
145845
|
+
"parameters": [
|
|
145846
|
+
{
|
|
145847
|
+
"name": "year",
|
|
145848
|
+
"type": {
|
|
145849
|
+
"text": "string"
|
|
145850
|
+
}
|
|
145851
|
+
}
|
|
145852
|
+
],
|
|
145853
|
+
"return": {
|
|
145854
|
+
"type": {
|
|
145855
|
+
"text": "boolean"
|
|
145856
|
+
}
|
|
145857
|
+
}
|
|
145858
|
+
}
|
|
145859
|
+
],
|
|
145860
|
+
"exports": [
|
|
145861
|
+
{
|
|
145862
|
+
"kind": "js",
|
|
145863
|
+
"name": "isCorrectYearFormat",
|
|
145864
|
+
"declaration": {
|
|
145865
|
+
"name": "isCorrectYearFormat",
|
|
145866
|
+
"module": "components/localize/src/date/utils/checkYearFormat.js"
|
|
145867
|
+
}
|
|
145868
|
+
}
|
|
145869
|
+
]
|
|
145870
|
+
},
|
|
145838
145871
|
{
|
|
145839
145872
|
"kind": "javascript-module",
|
|
145840
145873
|
"path": "../../node_modules/lit/directives/until.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseDate.d.ts","sourceRoot":"","sources":["../../../../../components/localize/src/date/parseDate.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parseDate.d.ts","sourceRoot":"","sources":["../../../../../components/localize/src/date/parseDate.js"],"names":[],"mappings":"AA6BA;;;;;;GAMG;AACH,sCAJW,MAAM,wFAEJ,IAAI,GAAG,SAAS,CAqD5B;gCAjFY,OAAO,mCAAmC,EAAE,iBAAiB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkYearFormat.d.ts","sourceRoot":"","sources":["../../../../../../components/localize/src/date/utils/checkYearFormat.js"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,0CAHW,MAAM,GACJ,OAAO,CAInB"}
|