@trendyol/baklava 2.0.0-beta.48 → 2.0.0-beta.50
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/baklava-react.d.ts +21 -19
- package/dist/baklava-react.d.ts.map +1 -1
- package/dist/baklava-react.js +1 -1
- package/dist/baklava-react.js.map +3 -3
- package/dist/baklava.d.ts +2 -1
- package/dist/baklava.d.ts.map +1 -1
- package/dist/baklava.js +1 -1
- package/dist/{chunk-HUFJDENF.js → chunk-5JOXJIWB.js} +2 -2
- package/dist/{chunk-HUFJDENF.js.map → chunk-5JOXJIWB.js.map} +0 -0
- package/dist/{chunk-JDM44V27.js → chunk-EA5US64C.js} +3 -3
- package/dist/{chunk-JDM44V27.js.map → chunk-EA5US64C.js.map} +0 -0
- package/dist/chunk-FEQIC2KZ.js +24 -0
- package/dist/chunk-FEQIC2KZ.js.map +7 -0
- package/dist/{chunk-FFIDELPT.js → chunk-OEJUFPBS.js} +2 -2
- package/dist/{chunk-FFIDELPT.js.map → chunk-OEJUFPBS.js.map} +0 -0
- package/dist/components/alert/bl-alert.js +1 -1
- package/dist/components/button/bl-button.js +1 -1
- package/dist/components/checkbox-group/bl-checkbox-group.d.ts +52 -0
- package/dist/components/checkbox-group/bl-checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/bl-checkbox-group.js +2 -0
- package/dist/components/{checkbox/bl-checkbox.js.map → checkbox-group/bl-checkbox-group.js.map} +0 -0
- package/dist/components/checkbox-group/bl-checkbox-group.test.d.ts +2 -0
- package/dist/components/checkbox-group/bl-checkbox-group.test.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox/bl-checkbox.d.ts +69 -0
- package/dist/components/checkbox-group/checkbox/bl-checkbox.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox/bl-checkbox.js +2 -0
- package/dist/components/checkbox-group/checkbox/bl-checkbox.js.map +7 -0
- package/dist/components/{checkbox → checkbox-group/checkbox}/bl-checkbox.test.d.ts +0 -0
- package/dist/components/checkbox-group/checkbox/bl-checkbox.test.d.ts.map +1 -0
- package/dist/components/dialog/bl-dialog.js +1 -1
- package/dist/components/drawer/bl-drawer.js +1 -1
- package/dist/components/input/bl-input.js +1 -1
- package/dist/components/pagination/bl-pagination.js +1 -1
- package/dist/custom-elements.json +193 -25
- package/package.json +2 -2
- package/dist/chunk-KXWO7VUG.js +0 -15
- package/dist/chunk-KXWO7VUG.js.map +0 -7
- package/dist/components/checkbox/bl-checkbox.d.ts +0 -34
- package/dist/components/checkbox/bl-checkbox.d.ts.map +0 -1
- package/dist/components/checkbox/bl-checkbox.js +0 -2
- package/dist/components/checkbox/bl-checkbox.test.d.ts.map +0 -1
|
@@ -297,74 +297,116 @@
|
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
299
|
"kind": "javascript-module",
|
|
300
|
-
"path": "src/components/checkbox/bl-checkbox.ts",
|
|
300
|
+
"path": "src/components/checkbox-group/bl-checkbox-group.ts",
|
|
301
301
|
"declarations": [
|
|
302
|
+
{
|
|
303
|
+
"kind": "variable",
|
|
304
|
+
"name": "blCheckboxGroupTag",
|
|
305
|
+
"type": {
|
|
306
|
+
"text": "string"
|
|
307
|
+
},
|
|
308
|
+
"default": "'bl-checkbox-group'"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"kind": "variable",
|
|
312
|
+
"name": "blChangeEventName",
|
|
313
|
+
"type": {
|
|
314
|
+
"text": "string"
|
|
315
|
+
},
|
|
316
|
+
"default": "'bl-checkbox-group-change'"
|
|
317
|
+
},
|
|
302
318
|
{
|
|
303
319
|
"kind": "class",
|
|
304
320
|
"description": "",
|
|
305
|
-
"name": "
|
|
321
|
+
"name": "BlCheckboxGroup",
|
|
322
|
+
"cssProperties": [
|
|
323
|
+
{
|
|
324
|
+
"description": "Can be used for showing checkbox options as columns instead of rows. Options are `row` or `column`",
|
|
325
|
+
"name": "--bl-checkbox-direction"
|
|
326
|
+
}
|
|
327
|
+
],
|
|
306
328
|
"events": [
|
|
307
329
|
{
|
|
308
330
|
"type": {
|
|
309
|
-
"text": "CustomEvent<
|
|
331
|
+
"text": "CustomEvent<EventDispatcher<string[]>>"
|
|
310
332
|
},
|
|
311
|
-
"description": "Fires
|
|
312
|
-
"name": "bl-checkbox-change"
|
|
333
|
+
"description": "Fires when checkbox group value changed",
|
|
334
|
+
"name": "bl-checkbox-group-change"
|
|
313
335
|
}
|
|
314
336
|
],
|
|
315
337
|
"attributes": [
|
|
316
338
|
{
|
|
317
|
-
"name": "
|
|
339
|
+
"name": "label",
|
|
318
340
|
"type": {
|
|
319
|
-
"text": "
|
|
341
|
+
"text": "string"
|
|
320
342
|
},
|
|
321
|
-
"
|
|
322
|
-
"
|
|
323
|
-
"fieldName": "checked"
|
|
343
|
+
"description": "Sets the checkbox group label",
|
|
344
|
+
"fieldName": "label"
|
|
324
345
|
},
|
|
325
346
|
{
|
|
326
|
-
"name": "
|
|
347
|
+
"name": "value",
|
|
327
348
|
"type": {
|
|
328
|
-
"text": "
|
|
349
|
+
"text": "string[]"
|
|
329
350
|
},
|
|
330
|
-
"default": "
|
|
331
|
-
"description": "
|
|
332
|
-
"fieldName": "
|
|
351
|
+
"default": "[]",
|
|
352
|
+
"description": "Set and gets the actual value of the field",
|
|
353
|
+
"fieldName": "value"
|
|
333
354
|
},
|
|
334
355
|
{
|
|
335
|
-
"name": "
|
|
356
|
+
"name": "required",
|
|
336
357
|
"type": {
|
|
337
358
|
"text": "boolean"
|
|
338
359
|
},
|
|
339
360
|
"default": "false",
|
|
340
|
-
"description": "Sets
|
|
341
|
-
"fieldName": "
|
|
361
|
+
"description": "Sets option as required",
|
|
362
|
+
"fieldName": "required"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"mixins": [
|
|
366
|
+
{
|
|
367
|
+
"name": "FormControlMixin",
|
|
368
|
+
"package": "@open-wc/form-control"
|
|
342
369
|
}
|
|
343
370
|
],
|
|
344
371
|
"superclass": {
|
|
345
372
|
"name": "LitElement",
|
|
346
373
|
"package": "lit"
|
|
347
374
|
},
|
|
348
|
-
"tagName": "bl-checkbox",
|
|
349
|
-
"summary": "Baklava
|
|
375
|
+
"tagName": "bl-checkbox-group",
|
|
376
|
+
"summary": "Baklava Button component",
|
|
350
377
|
"customElement": true
|
|
351
378
|
}
|
|
352
379
|
],
|
|
353
380
|
"exports": [
|
|
381
|
+
{
|
|
382
|
+
"kind": "js",
|
|
383
|
+
"name": "blCheckboxGroupTag",
|
|
384
|
+
"declaration": {
|
|
385
|
+
"name": "blCheckboxGroupTag",
|
|
386
|
+
"module": "src/components/checkbox-group/bl-checkbox-group.ts"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"kind": "js",
|
|
391
|
+
"name": "blChangeEventName",
|
|
392
|
+
"declaration": {
|
|
393
|
+
"name": "blChangeEventName",
|
|
394
|
+
"module": "src/components/checkbox-group/bl-checkbox-group.ts"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
354
397
|
{
|
|
355
398
|
"kind": "js",
|
|
356
399
|
"name": "default",
|
|
357
400
|
"declaration": {
|
|
358
|
-
"name": "
|
|
359
|
-
"module": "src/components/checkbox/bl-checkbox.ts"
|
|
401
|
+
"name": "BlCheckboxGroup",
|
|
402
|
+
"module": "src/components/checkbox-group/bl-checkbox-group.ts"
|
|
360
403
|
}
|
|
361
404
|
},
|
|
362
405
|
{
|
|
363
406
|
"kind": "custom-element-definition",
|
|
364
|
-
"name": "bl-checkbox",
|
|
365
407
|
"declaration": {
|
|
366
|
-
"name": "
|
|
367
|
-
"module": "src/components/checkbox/bl-checkbox.ts"
|
|
408
|
+
"name": "BlCheckboxGroup",
|
|
409
|
+
"module": "src/components/checkbox-group/bl-checkbox-group.ts"
|
|
368
410
|
}
|
|
369
411
|
}
|
|
370
412
|
]
|
|
@@ -1312,6 +1354,132 @@
|
|
|
1312
1354
|
}
|
|
1313
1355
|
]
|
|
1314
1356
|
},
|
|
1357
|
+
{
|
|
1358
|
+
"kind": "javascript-module",
|
|
1359
|
+
"path": "src/components/checkbox-group/checkbox/bl-checkbox.ts",
|
|
1360
|
+
"declarations": [
|
|
1361
|
+
{
|
|
1362
|
+
"kind": "variable",
|
|
1363
|
+
"name": "blCheckboxTag",
|
|
1364
|
+
"type": {
|
|
1365
|
+
"text": "string"
|
|
1366
|
+
},
|
|
1367
|
+
"default": "'bl-checkbox'"
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"kind": "class",
|
|
1371
|
+
"description": "",
|
|
1372
|
+
"name": "BlCheckbox",
|
|
1373
|
+
"events": [
|
|
1374
|
+
{
|
|
1375
|
+
"type": {
|
|
1376
|
+
"text": "CustomEvent<boolean>"
|
|
1377
|
+
},
|
|
1378
|
+
"description": "Fires whenever user change the value of the checkbox.",
|
|
1379
|
+
"name": "bl-checkbox-change"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"type": {
|
|
1383
|
+
"text": "CustomEvent<string>"
|
|
1384
|
+
},
|
|
1385
|
+
"description": "Fires when checkbox is focused",
|
|
1386
|
+
"name": "bl-focus"
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"type": {
|
|
1390
|
+
"text": "CustomEvent<string>"
|
|
1391
|
+
},
|
|
1392
|
+
"description": "Fires when checkbox is blurred",
|
|
1393
|
+
"name": "bl-blur"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"attributes": [
|
|
1397
|
+
{
|
|
1398
|
+
"name": "checked",
|
|
1399
|
+
"type": {
|
|
1400
|
+
"text": "boolean"
|
|
1401
|
+
},
|
|
1402
|
+
"default": "false",
|
|
1403
|
+
"description": "Sets the checked state for checkbox",
|
|
1404
|
+
"fieldName": "checked"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"name": "value",
|
|
1408
|
+
"type": {
|
|
1409
|
+
"text": "string"
|
|
1410
|
+
},
|
|
1411
|
+
"description": "Sets the checkbox value",
|
|
1412
|
+
"fieldName": "value"
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "required",
|
|
1416
|
+
"type": {
|
|
1417
|
+
"text": "boolean"
|
|
1418
|
+
},
|
|
1419
|
+
"default": "false",
|
|
1420
|
+
"description": "Sets checkbox as required",
|
|
1421
|
+
"fieldName": "required"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
"name": "disabled",
|
|
1425
|
+
"type": {
|
|
1426
|
+
"text": "boolean"
|
|
1427
|
+
},
|
|
1428
|
+
"default": "false",
|
|
1429
|
+
"description": "Sets the disabled state for checkbox",
|
|
1430
|
+
"fieldName": "disabled"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "indeterminate",
|
|
1434
|
+
"type": {
|
|
1435
|
+
"text": "boolean"
|
|
1436
|
+
},
|
|
1437
|
+
"default": "false",
|
|
1438
|
+
"description": "Sets the indeterminate state for checkbox",
|
|
1439
|
+
"fieldName": "indeterminate"
|
|
1440
|
+
}
|
|
1441
|
+
],
|
|
1442
|
+
"mixins": [
|
|
1443
|
+
{
|
|
1444
|
+
"name": "FormControlMixin",
|
|
1445
|
+
"package": "@open-wc/form-control"
|
|
1446
|
+
}
|
|
1447
|
+
],
|
|
1448
|
+
"superclass": {
|
|
1449
|
+
"name": "LitElement",
|
|
1450
|
+
"package": "lit"
|
|
1451
|
+
},
|
|
1452
|
+
"tagName": "bl-checkbox",
|
|
1453
|
+
"summary": "Baklava Checkbox component",
|
|
1454
|
+
"customElement": true
|
|
1455
|
+
}
|
|
1456
|
+
],
|
|
1457
|
+
"exports": [
|
|
1458
|
+
{
|
|
1459
|
+
"kind": "js",
|
|
1460
|
+
"name": "blCheckboxTag",
|
|
1461
|
+
"declaration": {
|
|
1462
|
+
"name": "blCheckboxTag",
|
|
1463
|
+
"module": "src/components/checkbox-group/checkbox/bl-checkbox.ts"
|
|
1464
|
+
}
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
"kind": "js",
|
|
1468
|
+
"name": "default",
|
|
1469
|
+
"declaration": {
|
|
1470
|
+
"name": "BlCheckbox",
|
|
1471
|
+
"module": "src/components/checkbox-group/checkbox/bl-checkbox.ts"
|
|
1472
|
+
}
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "custom-element-definition",
|
|
1476
|
+
"declaration": {
|
|
1477
|
+
"name": "BlCheckbox",
|
|
1478
|
+
"module": "src/components/checkbox-group/checkbox/bl-checkbox.ts"
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
]
|
|
1482
|
+
},
|
|
1315
1483
|
{
|
|
1316
1484
|
"kind": "javascript-module",
|
|
1317
1485
|
"path": "src/components/radio-group/radio/bl-radio.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trendyol/baklava",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.50",
|
|
4
4
|
"description": "Trendyol Baklava Design System",
|
|
5
5
|
"main": "dist/baklava.js",
|
|
6
6
|
"module": "dist/baklava.js",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@floating-ui/dom": "^0.5.4",
|
|
61
61
|
"@fontsource/rubik": "^4.5.9",
|
|
62
|
-
"@lit-labs/react": "^1.0
|
|
62
|
+
"@lit-labs/react": "^1.1.0",
|
|
63
63
|
"@open-wc/form-control": "^0.4.1",
|
|
64
64
|
"@open-wc/form-helpers": "^0.1.2",
|
|
65
65
|
"element-internals-polyfill": "^1.1.15",
|
package/dist/chunk-KXWO7VUG.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import{a as d}from"./chunk-KQBKSEYJ.js";import{a as c}from"./chunk-23UFIOHV.js";import{a as i,b as l,f as s,g as n,h as a}from"./chunk-HG7OBTQS.js";import{a as r}from"./chunk-NZ3RGSR6.js";var p=i`:host{display:inline-block;vertical-align:middle}label{display:flex;align-items:center;gap:var(--bl-size-2xs);color:var(--bl-color-secondary);font:var(--bl-font-title-3);cursor:pointer;user-select:none}input{appearance:none;position:absolute}.check-mark{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--bl-size-m);height:var(--bl-size-m);border:1px solid var(--bl-color-border);border-radius:var(--bl-border-radius-xs);color:var(--bl-color-content-primary-contrast);font-size:var(--bl-font-size-2xs)}:host([checked]) .label{color:var(--bl-color-primary)}:host(:is([checked],[indeterminate])) .check-mark{background-color:var(--bl-color-primary);border:0}:host([disabled]) .check-mark,:host([disabled]) .label{color:var(--bl-color-content-passive)}:host([disabled]) .check-mark{background-color:var(--bl-color-secondary-background)}`,h=p;var e=class extends s{constructor(){super(...arguments);this.checked=!1;this.disabled=!1;this.indeterminate=!1}static get styles(){return[h]}handleChange(t){let o=t.target;this.checked=o.checked,this.onChange(o.checked),this.indeterminate=!1}update(t){super.update(t),this.indeterminate&&this.checked&&(this.checked=!1,this.requestUpdate("checked",!0))}render(){let t="";return this.checked&&(t="check"),this.indeterminate&&(t="minus"),l`
|
|
2
|
-
<label>
|
|
3
|
-
<input
|
|
4
|
-
type="checkbox"
|
|
5
|
-
name="checkbox"
|
|
6
|
-
.checked=${d(this.checked)}
|
|
7
|
-
?disabled=${this.disabled}
|
|
8
|
-
.indeterminate=${this.indeterminate}
|
|
9
|
-
@change=${this.handleChange}
|
|
10
|
-
/>
|
|
11
|
-
<div class="check-mark">${t?l`<bl-icon name="${t}"></bl-icon>`:null}</div>
|
|
12
|
-
<span class="label"><slot></slot></span>
|
|
13
|
-
</label>
|
|
14
|
-
`}};r([a({type:Boolean,reflect:!0})],e.prototype,"checked",2),r([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),r([a({type:Boolean,reflect:!0})],e.prototype,"indeterminate",2),r([c("bl-checkbox-change")],e.prototype,"onChange",2),e=r([n("bl-checkbox")],e);export{e as a};
|
|
15
|
-
//# sourceMappingURL=chunk-KXWO7VUG.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/components/checkbox/bl-checkbox.css", "../src/components/checkbox/bl-checkbox.ts"],
|
|
4
|
-
"sourcesContent": ["import {css} from 'lit';\nexport const styles = css`:host{display:inline-block;vertical-align:middle}label{display:flex;align-items:center;gap:var(--bl-size-2xs);color:var(--bl-color-secondary);font:var(--bl-font-title-3);cursor:pointer;user-select:none}input{appearance:none;position:absolute}.check-mark{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(--bl-size-m);height:var(--bl-size-m);border:1px solid var(--bl-color-border);border-radius:var(--bl-border-radius-xs);color:var(--bl-color-content-primary-contrast);font-size:var(--bl-font-size-2xs)}:host([checked]) .label{color:var(--bl-color-primary)}:host(:is([checked],[indeterminate])) .check-mark{background-color:var(--bl-color-primary);border:0}:host([disabled]) .check-mark,:host([disabled]) .label{color:var(--bl-color-content-passive)}:host([disabled]) .check-mark{background-color:var(--bl-color-secondary-background)}`;\nexport default styles;\n", "import { CSSResultGroup, html, LitElement, TemplateResult } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { live } from 'lit/directives/live.js';\nimport { event, EventDispatcher } from '../../utilities/event';\nimport '../icon/bl-icon';\nimport style from './bl-checkbox.css';\n\n/**\n * @tag bl-checkbox\n * @summary Baklava Checkbox component\n */\n@customElement('bl-checkbox')\nexport default class BlCheckbox extends LitElement {\n static get styles(): CSSResultGroup {\n return [style];\n }\n\n /**\n * Sets the checked state for checkbox\n */\n @property({ type: Boolean, reflect: true })\n checked = false;\n\n /**\n * Sets the disabled state for checkbox\n */\n @property({ type: Boolean, reflect: true })\n disabled = false;\n\n /**\n * Sets the indeterminate state for checkbox\n */\n @property({ type: Boolean, reflect: true })\n indeterminate = false;\n\n /**\n * Fires whenever user change the value of the checkbox.\n */\n @event('bl-checkbox-change') private onChange: EventDispatcher<boolean>;\n\n handleChange(event: CustomEvent) {\n const target = event.target as HTMLInputElement;\n this.checked = target.checked;\n this.onChange(target.checked);\n this.indeterminate = false;\n }\n\n update(changedProperties: Map<string, unknown>) {\n super.update(changedProperties);\n if (this.indeterminate && this.checked) {\n this.checked = false;\n this.requestUpdate('checked', true);\n }\n }\n\n render(): TemplateResult {\n let icon = '';\n if (this.checked) icon = 'check';\n if (this.indeterminate) icon = 'minus';\n\n return html`\n <label>\n <input\n type=\"checkbox\"\n name=\"checkbox\"\n .checked=${live(this.checked)}\n ?disabled=${this.disabled}\n .indeterminate=${this.indeterminate}\n @change=${this.handleChange}\n />\n <div class=\"check-mark\">${icon ? html`<bl-icon name=\"${icon}\"></bl-icon>` : null}</div>\n <span class=\"label\"><slot></slot></span>\n </label>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bl-checkbox': BlCheckbox;\n }\n}\n"],
|
|
5
|
-
"mappings": "4LACO,IAAMA,EAASC,22BACfC,EAAQF,ECUf,IAAqBG,EAArB,cAAwC,CAAW,CAAnD,kCASE,aAAU,GAMV,cAAW,GAMX,mBAAgB,GApBhB,WAAW,QAAyB,CAClC,MAAO,CAACC,CAAK,CACf,CAyBA,aAAaC,EAAoB,CAC/B,IAAMC,EAASD,EAAM,OACrB,KAAK,QAAUC,EAAO,QACtB,KAAK,SAASA,EAAO,OAAO,EAC5B,KAAK,cAAgB,EACvB,CAEA,OAAOC,EAAyC,CAC9C,MAAM,OAAOA,CAAiB,EAC1B,KAAK,eAAiB,KAAK,UAC7B,KAAK,QAAU,GACf,KAAK,cAAc,UAAW,EAAI,EAEtC,CAEA,QAAyB,CACvB,IAAIC,EAAO,GACX,OAAI,KAAK,UAASA,EAAO,SACrB,KAAK,gBAAeA,EAAO,SAExBC;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKUC,EAAK,KAAK,OAAO;AAAA,sBAChB,KAAK;AAAA,2BACA,KAAK;AAAA,oBACZ,KAAK;AAAA;AAAA,kCAESF,EAAOC,mBAAsBD,gBAAqB;AAAA;AAAA;AAAA,KAIlF,CACF,EAtDEG,EAAA,CADCC,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GARvBT,EASnB,uBAMAQ,EAAA,CADCC,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GAdvBT,EAenB,wBAMAQ,EAAA,CADCC,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GApBvBT,EAqBnB,6BAKqCQ,EAAA,CAApCN,EAAM,oBAAoB,GA1BRF,EA0BkB,wBA1BlBA,EAArBQ,EAAA,CADC,EAAc,aAAa,GACPR",
|
|
6
|
-
"names": ["styles", "r", "bl_checkbox_default", "BlCheckbox", "bl_checkbox_default", "event", "target", "changedProperties", "icon", "$", "l", "__decorateClass", "e"]
|
|
7
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { CSSResultGroup, LitElement, TemplateResult } from 'lit';
|
|
2
|
-
import '../icon/bl-icon';
|
|
3
|
-
/**
|
|
4
|
-
* @tag bl-checkbox
|
|
5
|
-
* @summary Baklava Checkbox component
|
|
6
|
-
*/
|
|
7
|
-
export default class BlCheckbox extends LitElement {
|
|
8
|
-
static get styles(): CSSResultGroup;
|
|
9
|
-
/**
|
|
10
|
-
* Sets the checked state for checkbox
|
|
11
|
-
*/
|
|
12
|
-
checked: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Sets the disabled state for checkbox
|
|
15
|
-
*/
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Sets the indeterminate state for checkbox
|
|
19
|
-
*/
|
|
20
|
-
indeterminate: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Fires whenever user change the value of the checkbox.
|
|
23
|
-
*/
|
|
24
|
-
private onChange;
|
|
25
|
-
handleChange(event: CustomEvent): void;
|
|
26
|
-
update(changedProperties: Map<string, unknown>): void;
|
|
27
|
-
render(): TemplateResult;
|
|
28
|
-
}
|
|
29
|
-
declare global {
|
|
30
|
-
interface HTMLElementTagNameMap {
|
|
31
|
-
'bl-checkbox': BlCheckbox;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=bl-checkbox.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bl-checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/bl-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAQ,UAAU,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvE,OAAO,iBAAiB,CAAC;AAGzB;;;GAGG;AAEH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,UAAU;IAChD,MAAM,KAAK,MAAM,IAAI,cAAc,CAElC;IAED;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IAC0B,OAAO,CAAC,QAAQ,CAA2B;IAExE,YAAY,CAAC,KAAK,EAAE,WAAW;IAO/B,MAAM,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAQ9C,MAAM,IAAI,cAAc;CAoBzB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunk-KXWO7VUG.js";import"../../chunk-KQBKSEYJ.js";import"../../chunk-WXJKPVRA.js";import"../../chunk-72IJCTLJ.js";import"../../chunk-23UFIOHV.js";import"../../chunk-HG7OBTQS.js";import"../../chunk-NZ3RGSR6.js";export{a as default};
|
|
2
|
-
//# sourceMappingURL=bl-checkbox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bl-checkbox.test.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/bl-checkbox.test.ts"],"names":[],"mappings":""}
|