@viasat/beam-web-components 2.48.0 → 2.48.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.
@@ -1520,138 +1520,6 @@
1520
1520
  }
1521
1521
  ]
1522
1522
  },
1523
- {
1524
- "kind": "javascript-module",
1525
- "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
1526
- "declarations": [
1527
- {
1528
- "kind": "class",
1529
- "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
1530
- "name": "BmBadgeDot",
1531
- "slots": [
1532
- {
1533
- "description": "Provide text for the BadgeDot",
1534
- "name": "default"
1535
- }
1536
- ],
1537
- "members": [
1538
- {
1539
- "kind": "field",
1540
- "name": "theme",
1541
- "type": {
1542
- "text": "'light' | 'dark' | undefined"
1543
- },
1544
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1545
- "attribute": "theme"
1546
- },
1547
- {
1548
- "kind": "field",
1549
- "name": "appearance",
1550
- "type": {
1551
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1552
- },
1553
- "default": "'infoPrimary'",
1554
- "description": "Specify the appearance of the BadgeDot",
1555
- "attribute": "appearance"
1556
- },
1557
- {
1558
- "kind": "field",
1559
- "name": "emphasis",
1560
- "type": {
1561
- "text": "'strong' | 'subtle'"
1562
- },
1563
- "default": "'strong'",
1564
- "description": "Specify the emphasis of the BadgeDot",
1565
- "attribute": "emphasis"
1566
- },
1567
- {
1568
- "kind": "field",
1569
- "name": "overrideDotColor",
1570
- "type": {
1571
- "text": "string | undefined"
1572
- },
1573
- "description": "Overrides default dot color",
1574
- "attribute": "overrideDotColor"
1575
- }
1576
- ],
1577
- "attributes": [
1578
- {
1579
- "name": "theme",
1580
- "type": {
1581
- "text": "'light' | 'dark' | undefined"
1582
- },
1583
- "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1584
- "fieldName": "theme"
1585
- },
1586
- {
1587
- "name": "appearance",
1588
- "type": {
1589
- "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1590
- },
1591
- "default": "'infoPrimary'",
1592
- "description": "Specify the appearance of the BadgeDot",
1593
- "fieldName": "appearance"
1594
- },
1595
- {
1596
- "name": "emphasis",
1597
- "type": {
1598
- "text": "'strong' | 'subtle'"
1599
- },
1600
- "default": "'strong'",
1601
- "description": "Specify the emphasis of the BadgeDot",
1602
- "fieldName": "emphasis"
1603
- },
1604
- {
1605
- "name": "overrideDotColor",
1606
- "type": {
1607
- "text": "string | undefined"
1608
- },
1609
- "description": "Overrides default dot color",
1610
- "fieldName": "overrideDotColor"
1611
- }
1612
- ],
1613
- "superclass": {
1614
- "name": "LitElement",
1615
- "package": "lit"
1616
- },
1617
- "tagName": "bm-badge-dot",
1618
- "customElement": true
1619
- }
1620
- ],
1621
- "exports": [
1622
- {
1623
- "kind": "js",
1624
- "name": "BmBadgeDot",
1625
- "declaration": {
1626
- "name": "BmBadgeDot",
1627
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1628
- }
1629
- },
1630
- {
1631
- "kind": "custom-element-definition",
1632
- "name": "bm-badge-dot",
1633
- "declaration": {
1634
- "name": "BmBadgeDot",
1635
- "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1636
- }
1637
- }
1638
- ]
1639
- },
1640
- {
1641
- "kind": "javascript-module",
1642
- "path": "libs/web-components/src/lib/BadgeDot/index.ts",
1643
- "declarations": [],
1644
- "exports": [
1645
- {
1646
- "kind": "js",
1647
- "name": "*",
1648
- "declaration": {
1649
- "name": "*",
1650
- "package": "./BadgeDot"
1651
- }
1652
- }
1653
- ]
1654
- },
1655
1523
  {
1656
1524
  "kind": "javascript-module",
1657
1525
  "path": "libs/web-components/src/lib/Breadcrumbs/Breadcrumbs.context.ts",
@@ -1956,140 +1824,272 @@
1956
1824
  },
1957
1825
  {
1958
1826
  "kind": "javascript-module",
1959
- "path": "libs/web-components/src/lib/Button/Button.ts",
1827
+ "path": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts",
1960
1828
  "declarations": [
1961
1829
  {
1962
1830
  "kind": "class",
1963
- "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1964
- "name": "BmButton",
1831
+ "description": "`bm-badge-dot`\n\n### Attributes:\n- **theme** - Specify the theme of the BadgeDot. By default it inherits the theme from the parent\n- **appearance** - Specify the appearance of the BadgeDot\n- **emphasis** - Specify the emphasis of the BadgeDot\n- **overrideDotColor** - Overrides default dot color",
1832
+ "name": "BmBadgeDot",
1965
1833
  "slots": [
1966
1834
  {
1967
- "description": "Provide content for the Button",
1835
+ "description": "Provide text for the BadgeDot",
1968
1836
  "name": "default"
1969
- },
1970
- {
1971
- "description": "Specify if the Button displays icon before the text",
1972
- "name": "iconBefore"
1973
- },
1974
- {
1975
- "description": "Specify if the Button displays icon after the text",
1976
- "name": "iconAfter"
1977
1837
  }
1978
1838
  ],
1979
1839
  "members": [
1980
1840
  {
1981
1841
  "kind": "field",
1982
- "name": "formAssociated",
1842
+ "name": "theme",
1983
1843
  "type": {
1984
- "text": "boolean"
1844
+ "text": "'light' | 'dark' | undefined"
1985
1845
  },
1986
- "static": true,
1987
- "default": "true"
1846
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1847
+ "attribute": "theme"
1988
1848
  },
1989
1849
  {
1990
1850
  "kind": "field",
1991
1851
  "name": "appearance",
1992
1852
  "type": {
1993
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1853
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
1994
1854
  },
1995
- "default": "'accent'",
1996
- "description": "Specify the appearance of a Button",
1855
+ "default": "'infoPrimary'",
1856
+ "description": "Specify the appearance of the BadgeDot",
1997
1857
  "attribute": "appearance"
1998
1858
  },
1999
1859
  {
2000
1860
  "kind": "field",
2001
- "name": "kind",
2002
- "type": {
2003
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
2004
- },
2005
- "default": "'filled'",
2006
- "description": "Specify the kind of Button",
2007
- "attribute": "kind"
2008
- },
2009
- {
2010
- "kind": "field",
2011
- "name": "size",
2012
- "type": {
2013
- "text": "'sm' | 'md' | 'lg'"
2014
- },
2015
- "default": "'md'",
2016
- "description": "Specify the size of a Button",
2017
- "attribute": "size"
2018
- },
2019
- {
2020
- "kind": "field",
2021
- "name": "disabled",
2022
- "type": {
2023
- "text": "boolean"
2024
- },
2025
- "default": "false",
2026
- "description": "Specify if the Button is disabled",
2027
- "attribute": "disabled"
2028
- },
2029
- {
2030
- "kind": "field",
2031
- "name": "fluid",
2032
- "type": {
2033
- "text": "boolean"
2034
- },
2035
- "default": "false",
2036
- "description": "Specify if Button is fluid",
2037
- "attribute": "fluid"
2038
- },
2039
- {
2040
- "kind": "field",
2041
- "name": "width",
1861
+ "name": "emphasis",
2042
1862
  "type": {
2043
- "text": "string | undefined"
1863
+ "text": "'strong' | 'subtle'"
2044
1864
  },
2045
- "description": "Specify the width of a Button",
2046
- "attribute": "width"
1865
+ "default": "'strong'",
1866
+ "description": "Specify the emphasis of the BadgeDot",
1867
+ "attribute": "emphasis"
2047
1868
  },
2048
1869
  {
2049
1870
  "kind": "field",
2050
- "name": "height",
1871
+ "name": "overrideDotColor",
2051
1872
  "type": {
2052
1873
  "text": "string | undefined"
2053
1874
  },
2054
- "description": "Specify the height of a Button",
2055
- "attribute": "height"
2056
- },
1875
+ "description": "Overrides default dot color",
1876
+ "attribute": "overrideDotColor"
1877
+ }
1878
+ ],
1879
+ "attributes": [
2057
1880
  {
2058
- "kind": "field",
2059
1881
  "name": "theme",
2060
1882
  "type": {
2061
1883
  "text": "'light' | 'dark' | undefined"
2062
1884
  },
2063
- "description": "Specify the theme of the Button",
2064
- "attribute": "theme"
1885
+ "description": "Specify the theme of the BadgeDot. By default it inherits the theme from the parent",
1886
+ "fieldName": "theme"
2065
1887
  },
2066
1888
  {
2067
- "kind": "field",
2068
- "name": "iconOnly",
1889
+ "name": "appearance",
2069
1890
  "type": {
2070
- "text": "boolean | undefined"
1891
+ "text": "'infoPrimary' | 'infoSecondary' | 'positive' | 'warning' | 'negative'"
2071
1892
  },
2072
- "description": "Specify if the icon displays without text",
2073
- "attribute": "iconOnly"
1893
+ "default": "'infoPrimary'",
1894
+ "description": "Specify the appearance of the BadgeDot",
1895
+ "fieldName": "appearance"
2074
1896
  },
2075
1897
  {
2076
- "kind": "field",
2077
- "name": "type",
1898
+ "name": "emphasis",
2078
1899
  "type": {
2079
- "text": "string"
1900
+ "text": "'strong' | 'subtle'"
2080
1901
  },
2081
- "default": "'button'",
2082
- "attribute": "type"
1902
+ "default": "'strong'",
1903
+ "description": "Specify the emphasis of the BadgeDot",
1904
+ "fieldName": "emphasis"
2083
1905
  },
2084
1906
  {
2085
- "kind": "field",
2086
- "name": "formContext",
1907
+ "name": "overrideDotColor",
2087
1908
  "type": {
2088
- "text": "BmFormContext"
2089
- }
1909
+ "text": "string | undefined"
1910
+ },
1911
+ "description": "Overrides default dot color",
1912
+ "fieldName": "overrideDotColor"
2090
1913
  }
2091
1914
  ],
2092
- "attributes": [
1915
+ "superclass": {
1916
+ "name": "LitElement",
1917
+ "package": "lit"
1918
+ },
1919
+ "tagName": "bm-badge-dot",
1920
+ "customElement": true
1921
+ }
1922
+ ],
1923
+ "exports": [
1924
+ {
1925
+ "kind": "js",
1926
+ "name": "BmBadgeDot",
1927
+ "declaration": {
1928
+ "name": "BmBadgeDot",
1929
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1930
+ }
1931
+ },
1932
+ {
1933
+ "kind": "custom-element-definition",
1934
+ "name": "bm-badge-dot",
1935
+ "declaration": {
1936
+ "name": "BmBadgeDot",
1937
+ "module": "libs/web-components/src/lib/BadgeDot/BadgeDot.ts"
1938
+ }
1939
+ }
1940
+ ]
1941
+ },
1942
+ {
1943
+ "kind": "javascript-module",
1944
+ "path": "libs/web-components/src/lib/BadgeDot/index.ts",
1945
+ "declarations": [],
1946
+ "exports": [
1947
+ {
1948
+ "kind": "js",
1949
+ "name": "*",
1950
+ "declaration": {
1951
+ "name": "*",
1952
+ "package": "./BadgeDot"
1953
+ }
1954
+ }
1955
+ ]
1956
+ },
1957
+ {
1958
+ "kind": "javascript-module",
1959
+ "path": "libs/web-components/src/lib/Button/Button.ts",
1960
+ "declarations": [
1961
+ {
1962
+ "kind": "class",
1963
+ "description": "`bm-button`\n\n### Attributes:\n- **appearance** - Specify the appearance of a Button\n- **kind** - Specify the kind of Button\n- **size** - Specify the size of a Button\n- **disabled** - Specify if the Button is disabled\n- **fluid** - Specify if Button is fluid\n- **width** - Specify the width of a Button\n- **height** - Specify the height of a Button\n- **theme** - Specify the theme of the Button\n- **iconOnly** - Specify if the icon displays without text\n- **type** ",
1964
+ "name": "BmButton",
1965
+ "slots": [
1966
+ {
1967
+ "description": "Provide content for the Button",
1968
+ "name": "default"
1969
+ },
1970
+ {
1971
+ "description": "Specify if the Button displays icon before the text",
1972
+ "name": "iconBefore"
1973
+ },
1974
+ {
1975
+ "description": "Specify if the Button displays icon after the text",
1976
+ "name": "iconAfter"
1977
+ }
1978
+ ],
1979
+ "members": [
1980
+ {
1981
+ "kind": "field",
1982
+ "name": "formAssociated",
1983
+ "type": {
1984
+ "text": "boolean"
1985
+ },
1986
+ "static": true,
1987
+ "default": "true"
1988
+ },
1989
+ {
1990
+ "kind": "field",
1991
+ "name": "appearance",
1992
+ "type": {
1993
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
1994
+ },
1995
+ "default": "'accent'",
1996
+ "description": "Specify the appearance of a Button",
1997
+ "attribute": "appearance"
1998
+ },
1999
+ {
2000
+ "kind": "field",
2001
+ "name": "kind",
2002
+ "type": {
2003
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
2004
+ },
2005
+ "default": "'filled'",
2006
+ "description": "Specify the kind of Button",
2007
+ "attribute": "kind"
2008
+ },
2009
+ {
2010
+ "kind": "field",
2011
+ "name": "size",
2012
+ "type": {
2013
+ "text": "'sm' | 'md' | 'lg'"
2014
+ },
2015
+ "default": "'md'",
2016
+ "description": "Specify the size of a Button",
2017
+ "attribute": "size"
2018
+ },
2019
+ {
2020
+ "kind": "field",
2021
+ "name": "disabled",
2022
+ "type": {
2023
+ "text": "boolean"
2024
+ },
2025
+ "default": "false",
2026
+ "description": "Specify if the Button is disabled",
2027
+ "attribute": "disabled"
2028
+ },
2029
+ {
2030
+ "kind": "field",
2031
+ "name": "fluid",
2032
+ "type": {
2033
+ "text": "boolean"
2034
+ },
2035
+ "default": "false",
2036
+ "description": "Specify if Button is fluid",
2037
+ "attribute": "fluid"
2038
+ },
2039
+ {
2040
+ "kind": "field",
2041
+ "name": "width",
2042
+ "type": {
2043
+ "text": "string | undefined"
2044
+ },
2045
+ "description": "Specify the width of a Button",
2046
+ "attribute": "width"
2047
+ },
2048
+ {
2049
+ "kind": "field",
2050
+ "name": "height",
2051
+ "type": {
2052
+ "text": "string | undefined"
2053
+ },
2054
+ "description": "Specify the height of a Button",
2055
+ "attribute": "height"
2056
+ },
2057
+ {
2058
+ "kind": "field",
2059
+ "name": "theme",
2060
+ "type": {
2061
+ "text": "'light' | 'dark' | undefined"
2062
+ },
2063
+ "description": "Specify the theme of the Button",
2064
+ "attribute": "theme"
2065
+ },
2066
+ {
2067
+ "kind": "field",
2068
+ "name": "iconOnly",
2069
+ "type": {
2070
+ "text": "boolean | undefined"
2071
+ },
2072
+ "description": "Specify if the icon displays without text",
2073
+ "attribute": "iconOnly"
2074
+ },
2075
+ {
2076
+ "kind": "field",
2077
+ "name": "type",
2078
+ "type": {
2079
+ "text": "string"
2080
+ },
2081
+ "default": "'button'",
2082
+ "attribute": "type"
2083
+ },
2084
+ {
2085
+ "kind": "field",
2086
+ "name": "formContext",
2087
+ "type": {
2088
+ "text": "BmFormContext"
2089
+ }
2090
+ }
2091
+ ],
2092
+ "attributes": [
2093
2093
  {
2094
2094
  "name": "appearance",
2095
2095
  "type": {
@@ -6423,139 +6423,248 @@
6423
6423
  },
6424
6424
  {
6425
6425
  "kind": "javascript-module",
6426
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts",
6426
+ "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
6427
+ "declarations": [
6428
+ {
6429
+ "kind": "variable",
6430
+ "name": "bmFormInitials",
6431
+ "type": {
6432
+ "text": "BmFormContext"
6433
+ },
6434
+ "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
6435
+ },
6436
+ {
6437
+ "kind": "variable",
6438
+ "name": "bmFormContext"
6439
+ }
6440
+ ],
6441
+ "exports": [
6442
+ {
6443
+ "kind": "js",
6444
+ "name": "bmFormInitials",
6445
+ "declaration": {
6446
+ "name": "bmFormInitials",
6447
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
6448
+ }
6449
+ },
6450
+ {
6451
+ "kind": "js",
6452
+ "name": "bmFormContext",
6453
+ "declaration": {
6454
+ "name": "bmFormContext",
6455
+ "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
6456
+ }
6457
+ }
6458
+ ]
6459
+ },
6460
+ {
6461
+ "kind": "javascript-module",
6462
+ "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
6427
6463
  "declarations": [
6428
6464
  {
6429
6465
  "kind": "class",
6430
- "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded",
6431
- "name": "BmFileUploadButton",
6432
- "slots": [
6433
- {
6434
- "description": "Specify text for the Button",
6435
- "name": "default",
6436
- "inheritedFrom": {
6437
- "name": "BmButton",
6438
- "module": "libs/web-components/src/lib/Button/Button.ts"
6439
- }
6440
- },
6441
- {
6442
- "description": "Specify if the Button displays icon before the text",
6443
- "name": "iconBefore",
6444
- "inheritedFrom": {
6445
- "name": "BmButton",
6446
- "module": "libs/web-components/src/lib/Button/Button.ts"
6447
- }
6448
- },
6449
- {
6450
- "description": "Specify if the Button displays icon after the text",
6451
- "name": "iconAfter",
6452
- "inheritedFrom": {
6453
- "name": "BmButton",
6454
- "module": "libs/web-components/src/lib/Button/Button.ts"
6455
- }
6456
- }
6457
- ],
6466
+ "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
6467
+ "name": "FormField",
6458
6468
  "members": [
6459
6469
  {
6460
6470
  "kind": "field",
6461
- "name": "error",
6471
+ "name": "formAssociated",
6462
6472
  "type": {
6463
- "text": "boolean | undefined"
6473
+ "text": "boolean"
6464
6474
  },
6465
- "description": "Specify if FileUpload is in error state",
6466
- "attribute": "error"
6475
+ "static": true,
6476
+ "default": "true"
6467
6477
  },
6468
6478
  {
6469
6479
  "kind": "field",
6470
- "name": "accept",
6480
+ "name": "id",
6471
6481
  "type": {
6472
- "text": "string | undefined"
6482
+ "text": "string"
6473
6483
  },
6474
- "description": "Specify the accepted file types",
6475
- "attribute": "accept"
6484
+ "default": "''",
6485
+ "attribute": "id"
6476
6486
  },
6477
6487
  {
6478
6488
  "kind": "field",
6479
- "name": "multiple",
6489
+ "name": "name",
6480
6490
  "type": {
6481
- "text": "boolean | undefined"
6491
+ "text": "string"
6482
6492
  },
6483
- "description": "Specify if multiple files can be uploaded",
6484
- "attribute": "multiple"
6493
+ "default": "''",
6494
+ "attribute": "name"
6485
6495
  },
6486
6496
  {
6487
6497
  "kind": "field",
6488
- "name": "appearance",
6498
+ "name": "value",
6489
6499
  "type": {
6490
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
6500
+ "text": "string"
6491
6501
  },
6492
- "default": "'neutral-subtle'",
6493
- "description": "Specify the appearance of a Button",
6494
- "attribute": "appearance",
6495
- "inheritedFrom": {
6496
- "name": "BmButton",
6497
- "module": "libs/web-components/src/lib/Button/Button.ts"
6498
- }
6502
+ "default": "''",
6503
+ "attribute": "value"
6499
6504
  },
6500
6505
  {
6501
6506
  "kind": "field",
6502
- "name": "kind",
6507
+ "name": "validationRules",
6503
6508
  "type": {
6504
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
6509
+ "text": "Array<FormValidator>"
6505
6510
  },
6506
- "default": "'outline'",
6507
- "description": "Specify the kind of Button",
6508
- "attribute": "kind",
6509
- "inheritedFrom": {
6510
- "name": "BmButton",
6511
- "module": "libs/web-components/src/lib/Button/Button.ts"
6512
- }
6511
+ "default": "[]",
6512
+ "attribute": "validationRules"
6513
6513
  },
6514
6514
  {
6515
6515
  "kind": "field",
6516
- "name": "size",
6516
+ "name": "inputAriaLabel",
6517
6517
  "type": {
6518
- "text": "'sm' | 'md' | 'lg'"
6518
+ "text": "string | undefined"
6519
6519
  },
6520
- "default": "'md'",
6521
- "description": "Specify the size of a Button",
6522
- "attribute": "size",
6523
- "inheritedFrom": {
6524
- "name": "BmButton",
6525
- "module": "libs/web-components/src/lib/Button/Button.ts"
6520
+ "attribute": "input-aria-label"
6521
+ },
6522
+ {
6523
+ "kind": "field",
6524
+ "name": "formContext",
6525
+ "type": {
6526
+ "text": "BmFormContext"
6527
+ }
6528
+ },
6529
+ {
6530
+ "kind": "method",
6531
+ "name": "formAssociatedCallback",
6532
+ "return": {
6533
+ "type": {
6534
+ "text": "void"
6535
+ }
6536
+ }
6537
+ },
6538
+ {
6539
+ "kind": "method",
6540
+ "name": "formResetCallback",
6541
+ "return": {
6542
+ "type": {
6543
+ "text": "void"
6544
+ }
6526
6545
  }
6527
6546
  },
6547
+ {
6548
+ "kind": "method",
6549
+ "name": "finalizeAssociatedCallback",
6550
+ "return": {
6551
+ "type": {
6552
+ "text": "FinalizeAssociatedResult"
6553
+ }
6554
+ },
6555
+ "parameters": [
6556
+ {
6557
+ "name": "ctxValue",
6558
+ "type": {
6559
+ "text": "string"
6560
+ }
6561
+ }
6562
+ ]
6563
+ }
6564
+ ],
6565
+ "attributes": [
6566
+ {
6567
+ "name": "id",
6568
+ "type": {
6569
+ "text": "string"
6570
+ },
6571
+ "default": "''",
6572
+ "fieldName": "id"
6573
+ },
6574
+ {
6575
+ "name": "name",
6576
+ "type": {
6577
+ "text": "string"
6578
+ },
6579
+ "default": "''",
6580
+ "fieldName": "name"
6581
+ },
6582
+ {
6583
+ "name": "value",
6584
+ "type": {
6585
+ "text": "string"
6586
+ },
6587
+ "default": "''",
6588
+ "fieldName": "value"
6589
+ },
6590
+ {
6591
+ "name": "validationRules",
6592
+ "type": {
6593
+ "text": "Array<FormValidator>"
6594
+ },
6595
+ "default": "[]",
6596
+ "fieldName": "validationRules"
6597
+ },
6598
+ {
6599
+ "name": "input-aria-label",
6600
+ "type": {
6601
+ "text": "string | undefined"
6602
+ },
6603
+ "fieldName": "inputAriaLabel"
6604
+ }
6605
+ ],
6606
+ "superclass": {
6607
+ "name": "LitElement",
6608
+ "package": "lit"
6609
+ },
6610
+ "customElement": true
6611
+ }
6612
+ ],
6613
+ "exports": [
6614
+ {
6615
+ "kind": "js",
6616
+ "name": "FormField",
6617
+ "declaration": {
6618
+ "name": "FormField",
6619
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
6620
+ }
6621
+ }
6622
+ ]
6623
+ },
6624
+ {
6625
+ "kind": "javascript-module",
6626
+ "path": "libs/web-components/src/lib/wip/Form/Form.ts",
6627
+ "declarations": [
6628
+ {
6629
+ "kind": "class",
6630
+ "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
6631
+ "name": "BmForm",
6632
+ "slots": [
6633
+ {
6634
+ "description": "Add controls to the Form",
6635
+ "name": "slot"
6636
+ }
6637
+ ],
6638
+ "members": [
6528
6639
  {
6529
6640
  "kind": "field",
6530
- "name": "iconOnly",
6641
+ "name": "validationMode",
6531
6642
  "type": {
6532
- "text": "boolean | undefined"
6643
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
6533
6644
  },
6534
- "description": "Specify if the icon displays without text",
6535
- "attribute": "iconOnly",
6536
- "default": "false",
6537
- "inheritedFrom": {
6538
- "name": "BmButton",
6539
- "module": "libs/web-components/src/lib/Button/Button.ts"
6540
- }
6645
+ "default": "'onBlur'",
6646
+ "description": "Specify if validation runs on change or when loosing focus",
6647
+ "attribute": "validationMode"
6541
6648
  },
6542
6649
  {
6543
6650
  "kind": "field",
6544
- "name": "iconBefore",
6545
- "default": "unsafeSVG(Upload)"
6651
+ "name": "initialValues",
6652
+ "type": {
6653
+ "text": "Record<string, FormValue>"
6654
+ },
6655
+ "default": "{}",
6656
+ "description": "Specify initial values on Form controls based on their names",
6657
+ "attribute": "initialValues"
6546
6658
  },
6547
6659
  {
6548
6660
  "kind": "field",
6549
- "name": "formAssociated",
6661
+ "name": "required",
6550
6662
  "type": {
6551
6663
  "text": "boolean"
6552
6664
  },
6553
- "static": true,
6554
- "default": "true",
6555
- "inheritedFrom": {
6556
- "name": "BmButton",
6557
- "module": "libs/web-components/src/lib/Button/Button.ts"
6558
- }
6665
+ "default": "false",
6666
+ "description": "Specify if input is a required",
6667
+ "attribute": "required"
6559
6668
  },
6560
6669
  {
6561
6670
  "kind": "field",
@@ -6564,154 +6673,106 @@
6564
6673
  "text": "boolean"
6565
6674
  },
6566
6675
  "default": "false",
6567
- "description": "Specify if the Button is disabled",
6568
- "attribute": "disabled",
6569
- "inheritedFrom": {
6570
- "name": "BmButton",
6571
- "module": "libs/web-components/src/lib/Button/Button.ts"
6572
- }
6676
+ "description": "Specify if input is a disabled",
6677
+ "attribute": "disabled"
6573
6678
  },
6574
6679
  {
6575
6680
  "kind": "field",
6576
- "name": "fluid",
6681
+ "name": "readOnly",
6577
6682
  "type": {
6578
6683
  "text": "boolean"
6579
6684
  },
6580
6685
  "default": "false",
6581
- "description": "Specify if Button is fluid",
6582
- "attribute": "fluid",
6583
- "inheritedFrom": {
6584
- "name": "BmButton",
6585
- "module": "libs/web-components/src/lib/Button/Button.ts"
6586
- }
6686
+ "description": "Specify if input is a read only",
6687
+ "attribute": "readOnly"
6587
6688
  },
6588
6689
  {
6589
6690
  "kind": "field",
6590
- "name": "width",
6691
+ "name": "action",
6591
6692
  "type": {
6592
6693
  "text": "string | undefined"
6593
6694
  },
6594
- "description": "Specify the width of a Button",
6595
- "attribute": "width",
6596
- "inheritedFrom": {
6597
- "name": "BmButton",
6598
- "module": "libs/web-components/src/lib/Button/Button.ts"
6599
- }
6695
+ "attribute": "action"
6600
6696
  },
6601
6697
  {
6602
6698
  "kind": "field",
6603
- "name": "height",
6699
+ "name": "method",
6604
6700
  "type": {
6605
6701
  "text": "string | undefined"
6606
6702
  },
6607
- "description": "Specify the height of a Button",
6608
- "attribute": "height",
6609
- "inheritedFrom": {
6610
- "name": "BmButton",
6611
- "module": "libs/web-components/src/lib/Button/Button.ts"
6612
- }
6703
+ "attribute": "method"
6613
6704
  },
6614
6705
  {
6615
6706
  "kind": "field",
6616
- "name": "theme",
6707
+ "name": "target",
6617
6708
  "type": {
6618
- "text": "'light' | 'dark' | undefined"
6709
+ "text": "string | undefined"
6619
6710
  },
6620
- "description": "Specify the theme of the Button",
6621
- "attribute": "theme",
6622
- "inheritedFrom": {
6623
- "name": "BmButton",
6624
- "module": "libs/web-components/src/lib/Button/Button.ts"
6625
- }
6711
+ "attribute": "target"
6626
6712
  },
6627
6713
  {
6628
6714
  "kind": "field",
6629
- "name": "type",
6715
+ "name": "enctype",
6630
6716
  "type": {
6631
- "text": "string"
6717
+ "text": "string | undefined"
6632
6718
  },
6633
- "default": "'button'",
6634
- "attribute": "type",
6635
- "inheritedFrom": {
6636
- "name": "BmButton",
6637
- "module": "libs/web-components/src/lib/Button/Button.ts"
6638
- }
6719
+ "attribute": "enctype"
6639
6720
  },
6640
6721
  {
6641
6722
  "kind": "field",
6642
- "name": "formContext",
6643
- "type": {
6644
- "text": "BmFormContext"
6645
- },
6646
- "inheritedFrom": {
6647
- "name": "BmButton",
6648
- "module": "libs/web-components/src/lib/Button/Button.ts"
6649
- }
6650
- }
6651
- ],
6652
- "attributes": [
6653
- {
6654
- "name": "error",
6723
+ "name": "formMeta",
6655
6724
  "type": {
6656
- "text": "boolean | undefined"
6725
+ "text": "Record<string, FieldMeta>"
6657
6726
  },
6658
- "description": "Specify if FileUpload is in error state",
6659
- "fieldName": "error"
6727
+ "default": "{}"
6660
6728
  },
6661
6729
  {
6662
- "name": "accept",
6663
- "type": {
6664
- "text": "string | undefined"
6665
- },
6666
- "description": "Specify the accepted file types",
6667
- "fieldName": "accept"
6730
+ "kind": "field",
6731
+ "name": "formRef"
6668
6732
  },
6669
6733
  {
6670
- "name": "multiple",
6734
+ "kind": "field",
6735
+ "name": "formContext",
6671
6736
  "type": {
6672
- "text": "boolean | undefined"
6737
+ "text": "BmFormContext"
6673
6738
  },
6674
- "description": "Specify if multiple files can be uploaded",
6675
- "fieldName": "multiple"
6676
- },
6739
+ "privacy": "public",
6740
+ "default": "bmFormInitials"
6741
+ }
6742
+ ],
6743
+ "events": [
6677
6744
  {
6678
- "name": "appearance",
6745
+ "description": "Validates the inputs and submits the form",
6746
+ "name": "submit"
6747
+ }
6748
+ ],
6749
+ "attributes": [
6750
+ {
6751
+ "name": "validationMode",
6679
6752
  "type": {
6680
- "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
6753
+ "text": "'onChange' | 'onBlur' | 'onSubmit'"
6681
6754
  },
6682
- "default": "'accent'",
6683
- "description": "Specify the appearance of a Button",
6684
- "fieldName": "appearance",
6685
- "inheritedFrom": {
6686
- "name": "BmButton",
6687
- "module": "libs/web-components/src/lib/Button/Button.ts"
6688
- }
6755
+ "default": "'onBlur'",
6756
+ "description": "Specify if validation runs on change or when loosing focus",
6757
+ "fieldName": "validationMode"
6689
6758
  },
6690
6759
  {
6691
- "name": "kind",
6760
+ "name": "initialValues",
6692
6761
  "type": {
6693
- "text": "'filled' | 'outline' | 'ghost' | 'bare'"
6762
+ "text": "Record<string, FormValue>"
6694
6763
  },
6695
- "default": "'filled'",
6696
- "description": "Specify the kind of Button",
6697
- "fieldName": "kind",
6698
- "inheritedFrom": {
6699
- "name": "BmButton",
6700
- "module": "libs/web-components/src/lib/Button/Button.ts"
6701
- }
6764
+ "default": "{}",
6765
+ "description": "Specify initial values on Form controls based on their names",
6766
+ "fieldName": "initialValues"
6702
6767
  },
6703
6768
  {
6704
- "name": "size",
6769
+ "name": "required",
6705
6770
  "type": {
6706
- "text": "'sm' | 'md' | 'lg'"
6771
+ "text": "boolean"
6707
6772
  },
6708
- "default": "'md'",
6709
- "description": "Specify the size of a Button",
6710
- "fieldName": "size",
6711
- "inheritedFrom": {
6712
- "name": "BmButton",
6713
- "module": "libs/web-components/src/lib/Button/Button.ts"
6714
- }
6773
+ "default": "false",
6774
+ "description": "Specify if input is a required",
6775
+ "fieldName": "required"
6715
6776
  },
6716
6777
  {
6717
6778
  "name": "disabled",
@@ -6719,1803 +6780,1602 @@
6719
6780
  "text": "boolean"
6720
6781
  },
6721
6782
  "default": "false",
6722
- "description": "Specify if the Button is disabled",
6723
- "fieldName": "disabled",
6724
- "inheritedFrom": {
6725
- "name": "BmButton",
6726
- "module": "libs/web-components/src/lib/Button/Button.ts"
6727
- }
6783
+ "description": "Specify if input is a disabled",
6784
+ "fieldName": "disabled"
6728
6785
  },
6729
6786
  {
6730
- "name": "fluid",
6787
+ "name": "readOnly",
6731
6788
  "type": {
6732
6789
  "text": "boolean"
6733
6790
  },
6734
6791
  "default": "false",
6735
- "description": "Specify if Button is fluid",
6736
- "fieldName": "fluid",
6737
- "inheritedFrom": {
6738
- "name": "BmButton",
6739
- "module": "libs/web-components/src/lib/Button/Button.ts"
6740
- }
6792
+ "description": "Specify if input is a read only",
6793
+ "fieldName": "readOnly"
6741
6794
  },
6742
6795
  {
6743
- "name": "width",
6796
+ "name": "action",
6744
6797
  "type": {
6745
6798
  "text": "string | undefined"
6746
6799
  },
6747
- "description": "Specify the width of a Button",
6748
- "fieldName": "width",
6749
- "inheritedFrom": {
6750
- "name": "BmButton",
6751
- "module": "libs/web-components/src/lib/Button/Button.ts"
6752
- }
6800
+ "fieldName": "action"
6753
6801
  },
6754
6802
  {
6755
- "name": "height",
6803
+ "name": "method",
6756
6804
  "type": {
6757
6805
  "text": "string | undefined"
6758
6806
  },
6759
- "description": "Specify the height of a Button",
6760
- "fieldName": "height",
6761
- "inheritedFrom": {
6762
- "name": "BmButton",
6763
- "module": "libs/web-components/src/lib/Button/Button.ts"
6764
- }
6765
- },
6766
- {
6767
- "name": "theme",
6768
- "type": {
6769
- "text": "'light' | 'dark' | undefined"
6770
- },
6771
- "description": "Specify the theme of the Button",
6772
- "fieldName": "theme",
6773
- "inheritedFrom": {
6774
- "name": "BmButton",
6775
- "module": "libs/web-components/src/lib/Button/Button.ts"
6776
- }
6807
+ "fieldName": "method"
6777
6808
  },
6778
6809
  {
6779
- "name": "iconOnly",
6810
+ "name": "target",
6780
6811
  "type": {
6781
- "text": "boolean | undefined"
6812
+ "text": "string | undefined"
6782
6813
  },
6783
- "description": "Specify if the icon displays without text",
6784
- "fieldName": "iconOnly",
6785
- "inheritedFrom": {
6786
- "name": "BmButton",
6787
- "module": "libs/web-components/src/lib/Button/Button.ts"
6788
- }
6814
+ "fieldName": "target"
6789
6815
  },
6790
6816
  {
6791
- "name": "type",
6817
+ "name": "enctype",
6792
6818
  "type": {
6793
- "text": "string"
6819
+ "text": "string | undefined"
6794
6820
  },
6795
- "default": "'button'",
6796
- "fieldName": "type",
6797
- "inheritedFrom": {
6798
- "name": "BmButton",
6799
- "module": "libs/web-components/src/lib/Button/Button.ts"
6800
- }
6821
+ "fieldName": "enctype"
6801
6822
  }
6802
6823
  ],
6803
6824
  "superclass": {
6804
- "name": "BmButton",
6805
- "module": "/libs/web-components/src/lib/Button/Button"
6825
+ "name": "LitElement",
6826
+ "package": "lit"
6806
6827
  },
6807
- "tagName": "bm-file-upload-button",
6828
+ "summary": "`bm-form`",
6829
+ "tagName": "bm-form",
6808
6830
  "customElement": true
6809
6831
  }
6810
6832
  ],
6811
6833
  "exports": [
6812
6834
  {
6813
6835
  "kind": "js",
6814
- "name": "BmFileUploadButton",
6836
+ "name": "validators",
6815
6837
  "declaration": {
6816
- "name": "BmFileUploadButton",
6817
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts"
6838
+ "name": "validators",
6839
+ "package": "@viasat/beam-shared/components/form"
6840
+ }
6841
+ },
6842
+ {
6843
+ "kind": "js",
6844
+ "name": "BmForm",
6845
+ "declaration": {
6846
+ "name": "BmForm",
6847
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
6818
6848
  }
6819
6849
  },
6820
6850
  {
6821
6851
  "kind": "custom-element-definition",
6822
- "name": "bm-file-upload-button",
6852
+ "name": "bm-form",
6823
6853
  "declaration": {
6824
- "name": "BmFileUploadButton",
6825
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts"
6854
+ "name": "BmForm",
6855
+ "module": "libs/web-components/src/lib/wip/Form/Form.ts"
6826
6856
  }
6827
6857
  }
6828
6858
  ]
6829
6859
  },
6830
6860
  {
6831
6861
  "kind": "javascript-module",
6832
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Dropzone.ts",
6862
+ "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
6863
+ "declarations": [
6864
+ {
6865
+ "kind": "function",
6866
+ "name": "createId",
6867
+ "return": {
6868
+ "type": {
6869
+ "text": "string"
6870
+ }
6871
+ }
6872
+ }
6873
+ ],
6874
+ "exports": [
6875
+ {
6876
+ "kind": "js",
6877
+ "name": "createId",
6878
+ "declaration": {
6879
+ "name": "createId",
6880
+ "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
6881
+ }
6882
+ }
6883
+ ]
6884
+ },
6885
+ {
6886
+ "kind": "javascript-module",
6887
+ "path": "libs/web-components/src/lib/wip/Form/index.ts",
6888
+ "declarations": [],
6889
+ "exports": [
6890
+ {
6891
+ "kind": "js",
6892
+ "name": "*",
6893
+ "declaration": {
6894
+ "name": "*",
6895
+ "package": "./Form"
6896
+ }
6897
+ },
6898
+ {
6899
+ "kind": "js",
6900
+ "name": "*",
6901
+ "declaration": {
6902
+ "name": "*",
6903
+ "package": "./Form.decorator"
6904
+ }
6905
+ }
6906
+ ]
6907
+ },
6908
+ {
6909
+ "kind": "javascript-module",
6910
+ "path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
6833
6911
  "declarations": [
6834
6912
  {
6835
6913
  "kind": "class",
6836
- "description": "`bm-file-upload-dropzone`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent\n- **disabled** - Specify if the FileUpload is disabled\n- **accept** - Specify the accepted file types\n- **name** - Specify the name of the FileUpload\n- **multiple** - Specify if multiple files can be uploaded",
6837
- "name": "BmFileUploadDropzone",
6914
+ "description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **size** - Specify the size of NativeSelect\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
6915
+ "name": "BmNativeSelect",
6838
6916
  "slots": [
6839
6917
  {
6840
- "description": "Specify text for the Dropzone",
6841
- "name": "default"
6918
+ "description": "Specify Options for NativeSelect",
6919
+ "name": "slot"
6920
+ },
6921
+ {
6922
+ "description": "Specify Label for NativeSelect",
6923
+ "name": "label"
6924
+ },
6925
+ {
6926
+ "description": "Specify HelperText for NativeSelect",
6927
+ "name": "helper-text"
6842
6928
  }
6843
6929
  ],
6844
6930
  "members": [
6845
6931
  {
6846
6932
  "kind": "field",
6847
- "name": "error",
6933
+ "name": "required",
6848
6934
  "type": {
6849
- "text": "boolean | undefined"
6935
+ "text": "boolean"
6850
6936
  },
6851
- "description": "Specify if FileUpload is in error state",
6852
- "attribute": "error"
6937
+ "default": "false",
6938
+ "description": "Specify if NativeSelect is a required input",
6939
+ "attribute": "required"
6853
6940
  },
6854
6941
  {
6855
6942
  "kind": "field",
6856
- "name": "theme",
6943
+ "name": "readOnly",
6857
6944
  "type": {
6858
- "text": "'light' | 'dark' | undefined"
6945
+ "text": "boolean"
6859
6946
  },
6860
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
6861
- "attribute": "theme"
6947
+ "default": "false",
6948
+ "description": "Specify if NativeSelect displays in a read-only state",
6949
+ "attribute": "readOnly"
6862
6950
  },
6863
6951
  {
6864
6952
  "kind": "field",
6865
6953
  "name": "disabled",
6866
6954
  "type": {
6867
- "text": "boolean | undefined"
6955
+ "text": "boolean"
6868
6956
  },
6869
6957
  "default": "false",
6870
- "description": "Specify if the FileUpload is disabled",
6958
+ "description": "Specify if NativeSelect displays in a disabled state",
6871
6959
  "attribute": "disabled"
6872
6960
  },
6873
6961
  {
6874
6962
  "kind": "field",
6875
- "name": "accept",
6963
+ "name": "error",
6876
6964
  "type": {
6877
6965
  "text": "string | undefined"
6878
6966
  },
6879
- "description": "Specify the accepted file types",
6880
- "attribute": "accept"
6967
+ "description": "Specify error text and display error state of a NativeSelect",
6968
+ "attribute": "error"
6881
6969
  },
6882
6970
  {
6883
6971
  "kind": "field",
6884
- "name": "name",
6972
+ "name": "fluid",
6885
6973
  "type": {
6886
- "text": "string | undefined"
6974
+ "text": "boolean"
6887
6975
  },
6888
- "description": "Specify the name of the FileUpload",
6889
- "attribute": "name"
6976
+ "default": "false",
6977
+ "description": "Specify if NativeSelect is fluid",
6978
+ "attribute": "fluid"
6890
6979
  },
6891
6980
  {
6892
6981
  "kind": "field",
6893
- "name": "multiple",
6982
+ "name": "size",
6894
6983
  "type": {
6895
- "text": "boolean | undefined"
6984
+ "text": "'sm' | 'md' | 'lg'"
6896
6985
  },
6897
- "description": "Specify if multiple files can be uploaded",
6898
- "attribute": "multiple"
6986
+ "default": "defaultInputSize",
6987
+ "description": "Specify the size of NativeSelect",
6988
+ "attribute": "size"
6899
6989
  },
6900
6990
  {
6901
- "kind": "method",
6902
- "name": "focus",
6903
- "privacy": "public"
6904
- }
6905
- ],
6906
- "attributes": [
6907
- {
6908
- "name": "error",
6991
+ "kind": "field",
6992
+ "name": "width",
6909
6993
  "type": {
6910
- "text": "boolean | undefined"
6994
+ "text": "string | undefined"
6911
6995
  },
6912
- "description": "Specify if FileUpload is in error state",
6913
- "fieldName": "error"
6996
+ "description": "Specify the width of NativeSelect",
6997
+ "attribute": "width"
6914
6998
  },
6915
6999
  {
6916
- "name": "theme",
7000
+ "kind": "field",
7001
+ "name": "ellipse",
6917
7002
  "type": {
6918
- "text": "'light' | 'dark' | undefined"
7003
+ "text": "boolean"
6919
7004
  },
6920
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
6921
- "fieldName": "theme"
7005
+ "default": "true",
7006
+ "description": "Specify if overflow displays ellipsis",
7007
+ "attribute": "ellipse"
6922
7008
  },
6923
7009
  {
6924
- "name": "disabled",
7010
+ "kind": "field",
7011
+ "name": "hideRequiredMarker",
6925
7012
  "type": {
6926
- "text": "boolean | undefined"
7013
+ "text": "boolean"
6927
7014
  },
6928
7015
  "default": "false",
6929
- "description": "Specify if the FileUpload is disabled",
6930
- "fieldName": "disabled"
7016
+ "description": "Specify if the NativeSelect displays with an asterisk",
7017
+ "attribute": "hideRequiredMarker"
6931
7018
  },
6932
7019
  {
6933
- "name": "accept",
7020
+ "kind": "field",
7021
+ "name": "theme",
6934
7022
  "type": {
6935
- "text": "string | undefined"
7023
+ "text": "'light' | 'dark' | undefined"
6936
7024
  },
6937
- "description": "Specify the accepted file types",
6938
- "fieldName": "accept"
7025
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
7026
+ "attribute": "theme"
6939
7027
  },
6940
7028
  {
6941
- "name": "name",
6942
- "type": {
6943
- "text": "string | undefined"
7029
+ "kind": "method",
7030
+ "name": "finalizeAssociatedCallback",
7031
+ "return": {
7032
+ "type": {
7033
+ "text": "FinalizeAssociatedResult"
7034
+ }
6944
7035
  },
6945
- "description": "Specify the name of the FileUpload",
6946
- "fieldName": "name"
7036
+ "parameters": [
7037
+ {
7038
+ "name": "value",
7039
+ "type": {
7040
+ "text": "string"
7041
+ }
7042
+ }
7043
+ ],
7044
+ "inheritedFrom": {
7045
+ "name": "FormField",
7046
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7047
+ }
6947
7048
  },
6948
7049
  {
6949
- "name": "multiple",
7050
+ "kind": "field",
7051
+ "name": "formAssociated",
6950
7052
  "type": {
6951
- "text": "boolean | undefined"
7053
+ "text": "boolean"
6952
7054
  },
6953
- "description": "Specify if multiple files can be uploaded",
6954
- "fieldName": "multiple"
6955
- }
6956
- ],
6957
- "superclass": {
6958
- "name": "LitElement",
6959
- "package": "lit"
6960
- },
6961
- "tagName": "bm-file-upload-dropzone",
6962
- "customElement": true
6963
- }
6964
- ],
6965
- "exports": [
6966
- {
6967
- "kind": "js",
6968
- "name": "BmFileUploadDropzone",
6969
- "declaration": {
6970
- "name": "BmFileUploadDropzone",
6971
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Dropzone.ts"
6972
- }
6973
- },
6974
- {
6975
- "kind": "custom-element-definition",
6976
- "name": "bm-file-upload-dropzone",
6977
- "declaration": {
6978
- "name": "BmFileUploadDropzone",
6979
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Dropzone.ts"
6980
- }
6981
- }
6982
- ]
6983
- },
6984
- {
6985
- "kind": "javascript-module",
6986
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.Item.ts",
6987
- "declarations": [
6988
- {
6989
- "kind": "class",
6990
- "description": "`bm-file-upload-list-item`\n\n### Attributes:\n- **error** - Specify error text and display error state of list item\n- **fileName** - The name of the uploaded file\n- **fileSize** - The size of the uploaded file\n- **size** - Specify the size of the item\n- **thumbnail** - Specify if the item displays a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.\n- **state** - Specify the status of the file\n- **progress** - Specify the progress of the file upload\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent\n- **disabled** - Specify if the FileUpload is disabled",
6991
- "name": "BmFileUploadListItem",
6992
- "members": [
7055
+ "static": true,
7056
+ "default": "true",
7057
+ "inheritedFrom": {
7058
+ "name": "FormField",
7059
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7060
+ }
7061
+ },
6993
7062
  {
6994
7063
  "kind": "field",
6995
- "name": "error",
7064
+ "name": "id",
6996
7065
  "type": {
6997
- "text": "string | undefined"
7066
+ "text": "string"
6998
7067
  },
6999
7068
  "default": "''",
7000
- "description": "Specify error text and display error state of list item",
7001
- "attribute": "error"
7069
+ "attribute": "id",
7070
+ "inheritedFrom": {
7071
+ "name": "FormField",
7072
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7073
+ }
7002
7074
  },
7003
7075
  {
7004
7076
  "kind": "field",
7005
- "name": "fileName",
7077
+ "name": "name",
7006
7078
  "type": {
7007
- "text": "string | undefined"
7079
+ "text": "string"
7008
7080
  },
7009
- "description": "The name of the uploaded file",
7010
- "attribute": "fileName"
7081
+ "default": "''",
7082
+ "attribute": "name",
7083
+ "inheritedFrom": {
7084
+ "name": "FormField",
7085
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7086
+ }
7011
7087
  },
7012
7088
  {
7013
7089
  "kind": "field",
7014
- "name": "fileSize",
7090
+ "name": "value",
7015
7091
  "type": {
7016
- "text": "string | undefined"
7092
+ "text": "string"
7017
7093
  },
7018
- "description": "The size of the uploaded file",
7019
- "attribute": "fileSize"
7094
+ "default": "''",
7095
+ "attribute": "value",
7096
+ "inheritedFrom": {
7097
+ "name": "FormField",
7098
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7099
+ }
7020
7100
  },
7021
7101
  {
7022
7102
  "kind": "field",
7023
- "name": "size",
7103
+ "name": "validationRules",
7024
7104
  "type": {
7025
- "text": "'md' | 'lg' | undefined"
7105
+ "text": "Array<FormValidator>"
7026
7106
  },
7027
- "default": "'md'",
7028
- "description": "Specify the size of the item",
7029
- "attribute": "size"
7107
+ "default": "[]",
7108
+ "attribute": "validationRules",
7109
+ "inheritedFrom": {
7110
+ "name": "FormField",
7111
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7112
+ }
7030
7113
  },
7031
7114
  {
7032
7115
  "kind": "field",
7033
- "name": "thumbnail",
7116
+ "name": "inputAriaLabel",
7034
7117
  "type": {
7035
- "text": "string | boolean | undefined"
7118
+ "text": "string | undefined"
7036
7119
  },
7037
- "description": "Specify if the item displays a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
7038
- "default": "false",
7039
- "attribute": "thumbnail"
7120
+ "attribute": "input-aria-label",
7121
+ "inheritedFrom": {
7122
+ "name": "FormField",
7123
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7124
+ }
7040
7125
  },
7041
7126
  {
7042
7127
  "kind": "field",
7043
- "name": "state",
7128
+ "name": "formContext",
7044
7129
  "type": {
7045
- "text": "'error' | 'success' | 'uploading' | 'uploaded'"
7130
+ "text": "BmFormContext"
7046
7131
  },
7047
- "default": "'uploaded'",
7048
- "description": "Specify the status of the file",
7049
- "attribute": "state"
7132
+ "inheritedFrom": {
7133
+ "name": "FormField",
7134
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7135
+ }
7050
7136
  },
7051
7137
  {
7052
- "kind": "field",
7053
- "name": "progress",
7054
- "type": {
7055
- "text": "number | undefined"
7138
+ "kind": "method",
7139
+ "name": "formAssociatedCallback",
7140
+ "return": {
7141
+ "type": {
7142
+ "text": "void"
7143
+ }
7056
7144
  },
7057
- "default": "0",
7058
- "description": "Specify the progress of the file upload",
7059
- "attribute": "progress"
7145
+ "inheritedFrom": {
7146
+ "name": "FormField",
7147
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7148
+ }
7060
7149
  },
7061
7150
  {
7062
- "kind": "field",
7063
- "name": "theme",
7064
- "type": {
7065
- "text": "'light' | 'dark' | undefined"
7066
- },
7067
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7068
- "attribute": "theme"
7069
- },
7070
- {
7071
- "kind": "field",
7072
- "name": "disabled",
7073
- "type": {
7074
- "text": "boolean | undefined"
7151
+ "kind": "method",
7152
+ "name": "formResetCallback",
7153
+ "return": {
7154
+ "type": {
7155
+ "text": "void"
7156
+ }
7075
7157
  },
7076
- "description": "Specify if the FileUpload is disabled",
7077
- "attribute": "disabled"
7078
- }
7079
- ],
7080
- "events": [
7081
- {
7082
- "description": "Dispatched when the dismiss button is clicked",
7083
- "name": "bm-dismiss"
7158
+ "inheritedFrom": {
7159
+ "name": "FormField",
7160
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7161
+ }
7084
7162
  }
7085
7163
  ],
7086
7164
  "attributes": [
7087
7165
  {
7088
- "name": "error",
7166
+ "name": "required",
7089
7167
  "type": {
7090
- "text": "string | undefined"
7168
+ "text": "boolean"
7091
7169
  },
7092
- "default": "''",
7093
- "description": "Specify error text and display error state of list item",
7094
- "fieldName": "error"
7170
+ "default": "false",
7171
+ "description": "Specify if NativeSelect is a required input",
7172
+ "fieldName": "required"
7095
7173
  },
7096
7174
  {
7097
- "name": "fileName",
7175
+ "name": "readOnly",
7098
7176
  "type": {
7099
- "text": "string | undefined"
7177
+ "text": "boolean"
7100
7178
  },
7101
- "description": "The name of the uploaded file",
7102
- "fieldName": "fileName"
7179
+ "default": "false",
7180
+ "description": "Specify if NativeSelect displays in a read-only state",
7181
+ "fieldName": "readOnly"
7103
7182
  },
7104
7183
  {
7105
- "name": "fileSize",
7184
+ "name": "disabled",
7185
+ "type": {
7186
+ "text": "boolean"
7187
+ },
7188
+ "default": "false",
7189
+ "description": "Specify if NativeSelect displays in a disabled state",
7190
+ "fieldName": "disabled"
7191
+ },
7192
+ {
7193
+ "name": "error",
7106
7194
  "type": {
7107
7195
  "text": "string | undefined"
7108
7196
  },
7109
- "description": "The size of the uploaded file",
7110
- "fieldName": "fileSize"
7197
+ "description": "Specify error text and display error state of a NativeSelect",
7198
+ "fieldName": "error"
7199
+ },
7200
+ {
7201
+ "name": "fluid",
7202
+ "type": {
7203
+ "text": "boolean"
7204
+ },
7205
+ "default": "false",
7206
+ "description": "Specify if NativeSelect is fluid",
7207
+ "fieldName": "fluid"
7111
7208
  },
7112
7209
  {
7113
7210
  "name": "size",
7114
7211
  "type": {
7115
- "text": "'md' | 'lg' | undefined"
7212
+ "text": "'sm' | 'md' | 'lg'"
7116
7213
  },
7117
- "default": "'md'",
7118
- "description": "Specify the size of the item",
7214
+ "default": "defaultInputSize",
7215
+ "description": "Specify the size of NativeSelect",
7119
7216
  "fieldName": "size"
7120
7217
  },
7121
7218
  {
7122
- "name": "thumbnail",
7219
+ "name": "width",
7123
7220
  "type": {
7124
- "text": "string | boolean | undefined"
7221
+ "text": "string | undefined"
7125
7222
  },
7126
- "description": "Specify if the item displays a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
7127
- "default": "false",
7128
- "fieldName": "thumbnail"
7223
+ "description": "Specify the width of NativeSelect",
7224
+ "fieldName": "width"
7129
7225
  },
7130
7226
  {
7131
- "name": "state",
7227
+ "name": "ellipse",
7132
7228
  "type": {
7133
- "text": "'error' | 'success' | 'uploading' | 'uploaded'"
7229
+ "text": "boolean"
7134
7230
  },
7135
- "default": "'uploaded'",
7136
- "description": "Specify the status of the file",
7137
- "fieldName": "state"
7231
+ "default": "true",
7232
+ "description": "Specify if overflow displays ellipsis",
7233
+ "fieldName": "ellipse"
7138
7234
  },
7139
7235
  {
7140
- "name": "progress",
7236
+ "name": "hideRequiredMarker",
7141
7237
  "type": {
7142
- "text": "number | undefined"
7238
+ "text": "boolean"
7143
7239
  },
7144
- "default": "0",
7145
- "description": "Specify the progress of the file upload",
7146
- "fieldName": "progress"
7240
+ "default": "false",
7241
+ "description": "Specify if the NativeSelect displays with an asterisk",
7242
+ "fieldName": "hideRequiredMarker"
7147
7243
  },
7148
7244
  {
7149
7245
  "name": "theme",
7150
7246
  "type": {
7151
7247
  "text": "'light' | 'dark' | undefined"
7152
7248
  },
7153
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7249
+ "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
7154
7250
  "fieldName": "theme"
7155
7251
  },
7156
7252
  {
7157
- "name": "disabled",
7253
+ "name": "id",
7158
7254
  "type": {
7159
- "text": "boolean | undefined"
7255
+ "text": "string"
7160
7256
  },
7161
- "description": "Specify if the FileUpload is disabled",
7162
- "fieldName": "disabled"
7257
+ "default": "''",
7258
+ "fieldName": "id",
7259
+ "inheritedFrom": {
7260
+ "name": "FormField",
7261
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7262
+ }
7263
+ },
7264
+ {
7265
+ "name": "name",
7266
+ "type": {
7267
+ "text": "string"
7268
+ },
7269
+ "default": "''",
7270
+ "fieldName": "name",
7271
+ "inheritedFrom": {
7272
+ "name": "FormField",
7273
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7274
+ }
7275
+ },
7276
+ {
7277
+ "name": "value",
7278
+ "type": {
7279
+ "text": "string"
7280
+ },
7281
+ "default": "''",
7282
+ "fieldName": "value",
7283
+ "inheritedFrom": {
7284
+ "name": "FormField",
7285
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7286
+ }
7287
+ },
7288
+ {
7289
+ "name": "validationRules",
7290
+ "type": {
7291
+ "text": "Array<FormValidator>"
7292
+ },
7293
+ "default": "[]",
7294
+ "fieldName": "validationRules",
7295
+ "inheritedFrom": {
7296
+ "name": "FormField",
7297
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7298
+ }
7299
+ },
7300
+ {
7301
+ "name": "input-aria-label",
7302
+ "type": {
7303
+ "text": "string | undefined"
7304
+ },
7305
+ "fieldName": "inputAriaLabel",
7306
+ "inheritedFrom": {
7307
+ "name": "FormField",
7308
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7309
+ }
7163
7310
  }
7164
7311
  ],
7165
7312
  "superclass": {
7166
- "name": "LitElement",
7167
- "package": "lit"
7313
+ "name": "FormField",
7314
+ "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
7168
7315
  },
7169
- "tagName": "bm-file-upload-list-item",
7316
+ "summary": "`bm-native-select`",
7317
+ "tagName": "bm-native-select",
7170
7318
  "customElement": true
7171
7319
  }
7172
7320
  ],
7173
7321
  "exports": [
7174
7322
  {
7175
7323
  "kind": "js",
7176
- "name": "BmFileUploadListItem",
7324
+ "name": "BmNativeSelect",
7177
7325
  "declaration": {
7178
- "name": "BmFileUploadListItem",
7179
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.Item.ts"
7326
+ "name": "BmNativeSelect",
7327
+ "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
7180
7328
  }
7181
7329
  },
7182
7330
  {
7183
7331
  "kind": "custom-element-definition",
7184
- "name": "bm-file-upload-list-item",
7332
+ "name": "bm-native-select",
7185
7333
  "declaration": {
7186
- "name": "BmFileUploadListItem",
7187
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.Item.ts"
7334
+ "name": "BmNativeSelect",
7335
+ "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
7188
7336
  }
7189
7337
  }
7190
7338
  ]
7191
7339
  },
7192
7340
  {
7193
7341
  "kind": "javascript-module",
7194
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.ts",
7342
+ "path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
7343
+ "declarations": [],
7344
+ "exports": [
7345
+ {
7346
+ "kind": "js",
7347
+ "name": "*",
7348
+ "declaration": {
7349
+ "name": "*",
7350
+ "package": "./NativeSelect"
7351
+ }
7352
+ }
7353
+ ]
7354
+ },
7355
+ {
7356
+ "kind": "javascript-module",
7357
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts",
7195
7358
  "declarations": [
7196
7359
  {
7197
7360
  "kind": "class",
7198
- "description": "`bm-file-upload-list`\n\n### Attributes:\n- **thumbnail** - Specify if the all items displays with a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.\n- **size** - Specify FileUpload List size\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent\n- **disabled** - Specify if the FileUpload is disabled\n- **renderItem** - Specify a render function for the list item",
7199
- "name": "BmFileUploadList",
7361
+ "description": "`bm-file-upload-button`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **accept** - Specify the accepted file types\n- **multiple** - Specify if multiple files can be uploaded",
7362
+ "name": "BmFileUploadButton",
7200
7363
  "slots": [
7201
7364
  {
7202
- "description": "Specify the list items",
7203
- "name": "default"
7365
+ "description": "Specify text for the Button",
7366
+ "name": "default",
7367
+ "inheritedFrom": {
7368
+ "name": "BmButton",
7369
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7370
+ }
7371
+ },
7372
+ {
7373
+ "description": "Specify if the Button displays icon before the text",
7374
+ "name": "iconBefore",
7375
+ "inheritedFrom": {
7376
+ "name": "BmButton",
7377
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7378
+ }
7379
+ },
7380
+ {
7381
+ "description": "Specify if the Button displays icon after the text",
7382
+ "name": "iconAfter",
7383
+ "inheritedFrom": {
7384
+ "name": "BmButton",
7385
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7386
+ }
7204
7387
  }
7205
7388
  ],
7206
7389
  "members": [
7207
7390
  {
7208
7391
  "kind": "field",
7209
- "name": "thumbnail",
7392
+ "name": "error",
7210
7393
  "type": {
7211
7394
  "text": "boolean | undefined"
7212
7395
  },
7213
- "description": "Specify if the all items displays with a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
7214
- "default": "false",
7215
- "attribute": "thumbnail"
7396
+ "description": "Specify if FileUpload is in error state",
7397
+ "attribute": "error"
7216
7398
  },
7217
7399
  {
7218
7400
  "kind": "field",
7219
- "name": "size",
7401
+ "name": "accept",
7220
7402
  "type": {
7221
- "text": "'md' | 'lg' | undefined"
7403
+ "text": "string | undefined"
7222
7404
  },
7223
- "description": "Specify FileUpload List size",
7224
- "default": "'md'",
7225
- "attribute": "size"
7405
+ "description": "Specify the accepted file types",
7406
+ "attribute": "accept"
7226
7407
  },
7227
7408
  {
7228
7409
  "kind": "field",
7229
- "name": "theme",
7410
+ "name": "multiple",
7230
7411
  "type": {
7231
- "text": "'light' | 'dark' | undefined"
7412
+ "text": "boolean | undefined"
7232
7413
  },
7233
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7234
- "attribute": "theme"
7414
+ "description": "Specify if multiple files can be uploaded",
7415
+ "attribute": "multiple"
7235
7416
  },
7236
7417
  {
7237
7418
  "kind": "field",
7238
- "name": "disabled",
7419
+ "name": "appearance",
7239
7420
  "type": {
7240
- "text": "boolean | undefined"
7421
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
7241
7422
  },
7242
- "description": "Specify if the FileUpload is disabled",
7243
- "attribute": "disabled"
7423
+ "default": "'neutral-subtle'",
7424
+ "description": "Specify the appearance of a Button",
7425
+ "attribute": "appearance",
7426
+ "inheritedFrom": {
7427
+ "name": "BmButton",
7428
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7429
+ }
7244
7430
  },
7245
7431
  {
7246
7432
  "kind": "field",
7247
- "name": "renderItem",
7248
- "type": {
7249
- "text": "(fileItem: FileItem, dismissFile: () => void) => void | undefined"
7250
- },
7251
- "description": "Specify a render function for the list item",
7252
- "attribute": "renderItem"
7253
- }
7254
- ],
7255
- "attributes": [
7256
- {
7257
- "name": "thumbnail",
7433
+ "name": "kind",
7258
7434
  "type": {
7259
- "text": "boolean | undefined"
7435
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
7260
7436
  },
7261
- "description": "Specify if the all items displays with a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
7262
- "default": "false",
7263
- "fieldName": "thumbnail"
7437
+ "default": "'outline'",
7438
+ "description": "Specify the kind of Button",
7439
+ "attribute": "kind",
7440
+ "inheritedFrom": {
7441
+ "name": "BmButton",
7442
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7443
+ }
7264
7444
  },
7265
7445
  {
7446
+ "kind": "field",
7266
7447
  "name": "size",
7267
7448
  "type": {
7268
- "text": "'md' | 'lg' | undefined"
7449
+ "text": "'sm' | 'md' | 'lg'"
7269
7450
  },
7270
- "description": "Specify FileUpload List size",
7271
7451
  "default": "'md'",
7272
- "fieldName": "size"
7273
- },
7274
- {
7275
- "name": "theme",
7276
- "type": {
7277
- "text": "'light' | 'dark' | undefined"
7278
- },
7279
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7280
- "fieldName": "theme"
7452
+ "description": "Specify the size of a Button",
7453
+ "attribute": "size",
7454
+ "inheritedFrom": {
7455
+ "name": "BmButton",
7456
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7457
+ }
7281
7458
  },
7282
7459
  {
7283
- "name": "disabled",
7460
+ "kind": "field",
7461
+ "name": "iconOnly",
7284
7462
  "type": {
7285
7463
  "text": "boolean | undefined"
7286
7464
  },
7287
- "description": "Specify if the FileUpload is disabled",
7288
- "fieldName": "disabled"
7289
- },
7290
- {
7291
- "name": "renderItem",
7292
- "type": {
7293
- "text": "(fileItem: FileItem, dismissFile: () => void) => void | undefined"
7294
- },
7295
- "description": "Specify a render function for the list item",
7296
- "fieldName": "renderItem"
7297
- }
7298
- ],
7299
- "superclass": {
7300
- "name": "LitElement",
7301
- "package": "lit"
7302
- },
7303
- "tagName": "bm-file-upload-list",
7304
- "customElement": true
7305
- }
7306
- ],
7307
- "exports": [
7308
- {
7309
- "kind": "js",
7310
- "name": "BmFileUploadList",
7311
- "declaration": {
7312
- "name": "BmFileUploadList",
7313
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.ts"
7314
- }
7315
- },
7316
- {
7317
- "kind": "custom-element-definition",
7318
- "name": "bm-file-upload-list",
7319
- "declaration": {
7320
- "name": "BmFileUploadList",
7321
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.ts"
7322
- }
7323
- }
7324
- ]
7325
- },
7326
- {
7327
- "kind": "javascript-module",
7328
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts",
7329
- "declarations": [
7330
- {
7331
- "kind": "class",
7332
- "description": "",
7333
- "name": "BmFileUploadFileSelectedEvent",
7334
- "superclass": {
7335
- "name": "CustomEvent",
7336
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7337
- }
7338
- },
7339
- {
7340
- "kind": "class",
7341
- "description": "`bm-file-upload`\n\n### Attributes:\n- **accept** - Specify what types of files can be uploaded\n- **error** - Specify error text and display error state of FileUpload\n- **disabled** - Specify if FileUpload is in disabled state\n- **multiple** - Specify if more than one file can be can be uploaded\n- **fileLimit** - Specify how many files can be uploaded\n- **maxFileSize** - Specify the maximum file size that can be uploaded\n- **required** - Specify if FileUpload is a required input\n- **readOnly** - Specify if FileUpload is in read-only state\n- **hideRequiredMarker** - Specify if FileUpload displays with an asterisk\n- **validationRules** - Specify form validation rules for FileUpload\n- **fluid** - Specify if FileUpload is fluid\n- **width** - Specify the width of FileUpload\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7342
- "name": "BmFileUpload",
7343
- "slots": [
7344
- {
7345
- "description": "Specify Label for for FileUpload",
7346
- "name": "label"
7465
+ "description": "Specify if the icon displays without text",
7466
+ "attribute": "iconOnly",
7467
+ "default": "false",
7468
+ "inheritedFrom": {
7469
+ "name": "BmButton",
7470
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7471
+ }
7347
7472
  },
7348
- {
7349
- "description": "Specify HelperText for FileUpload",
7350
- "name": "helper-text"
7351
- }
7352
- ],
7353
- "members": [
7354
7473
  {
7355
7474
  "kind": "field",
7356
- "name": "accept",
7357
- "type": {
7358
- "text": "string | undefined"
7359
- },
7360
- "description": "Specify what types of files can be uploaded",
7361
- "attribute": "accept"
7475
+ "name": "iconBefore",
7476
+ "default": "unsafeSVG(Upload)"
7362
7477
  },
7363
7478
  {
7364
7479
  "kind": "field",
7365
- "name": "error",
7480
+ "name": "formAssociated",
7366
7481
  "type": {
7367
- "text": "string | boolean | undefined"
7482
+ "text": "boolean"
7368
7483
  },
7369
- "description": "Specify error text and display error state of FileUpload",
7370
- "attribute": "error"
7484
+ "static": true,
7485
+ "default": "true",
7486
+ "inheritedFrom": {
7487
+ "name": "BmButton",
7488
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7489
+ }
7371
7490
  },
7372
7491
  {
7373
7492
  "kind": "field",
7374
7493
  "name": "disabled",
7375
7494
  "type": {
7376
- "text": "boolean | undefined"
7495
+ "text": "boolean"
7377
7496
  },
7378
7497
  "default": "false",
7379
- "description": "Specify if FileUpload is in disabled state",
7380
- "attribute": "disabled"
7498
+ "description": "Specify if the Button is disabled",
7499
+ "attribute": "disabled",
7500
+ "inheritedFrom": {
7501
+ "name": "BmButton",
7502
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7503
+ }
7381
7504
  },
7382
7505
  {
7383
7506
  "kind": "field",
7384
- "name": "multiple",
7507
+ "name": "fluid",
7385
7508
  "type": {
7386
- "text": "boolean | undefined"
7509
+ "text": "boolean"
7387
7510
  },
7388
- "description": "Specify if more than one file can be can be uploaded",
7389
7511
  "default": "false",
7390
- "attribute": "multiple"
7391
- },
7392
- {
7393
- "kind": "field",
7394
- "name": "fileLimit",
7395
- "type": {
7396
- "text": "number | undefined"
7397
- },
7398
- "description": "Specify how many files can be uploaded",
7399
- "attribute": "fileLimit"
7512
+ "description": "Specify if Button is fluid",
7513
+ "attribute": "fluid",
7514
+ "inheritedFrom": {
7515
+ "name": "BmButton",
7516
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7517
+ }
7400
7518
  },
7401
7519
  {
7402
7520
  "kind": "field",
7403
- "name": "maxFileSize",
7521
+ "name": "width",
7404
7522
  "type": {
7405
- "text": "number | undefined"
7523
+ "text": "string | undefined"
7406
7524
  },
7407
- "description": "Specify the maximum file size that can be uploaded",
7408
- "attribute": "maxFileSize"
7525
+ "description": "Specify the width of a Button",
7526
+ "attribute": "width",
7527
+ "inheritedFrom": {
7528
+ "name": "BmButton",
7529
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7530
+ }
7409
7531
  },
7410
7532
  {
7411
7533
  "kind": "field",
7412
- "name": "required",
7534
+ "name": "height",
7413
7535
  "type": {
7414
- "text": "boolean | undefined"
7536
+ "text": "string | undefined"
7415
7537
  },
7416
- "description": "Specify if FileUpload is a required input",
7417
- "default": "false",
7418
- "attribute": "required"
7538
+ "description": "Specify the height of a Button",
7539
+ "attribute": "height",
7540
+ "inheritedFrom": {
7541
+ "name": "BmButton",
7542
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7543
+ }
7419
7544
  },
7420
7545
  {
7421
7546
  "kind": "field",
7422
- "name": "readOnly",
7547
+ "name": "theme",
7423
7548
  "type": {
7424
- "text": "boolean | undefined"
7549
+ "text": "'light' | 'dark' | undefined"
7425
7550
  },
7426
- "description": "Specify if FileUpload is in read-only state",
7427
- "attribute": "readOnly"
7551
+ "description": "Specify the theme of the Button",
7552
+ "attribute": "theme",
7553
+ "inheritedFrom": {
7554
+ "name": "BmButton",
7555
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7556
+ }
7428
7557
  },
7429
7558
  {
7430
7559
  "kind": "field",
7431
- "name": "hideRequiredMarker",
7560
+ "name": "type",
7432
7561
  "type": {
7433
- "text": "boolean | undefined"
7562
+ "text": "string"
7434
7563
  },
7435
- "description": "Specify if FileUpload displays with an asterisk",
7436
- "default": "false",
7437
- "attribute": "hideRequiredMarker"
7564
+ "default": "'button'",
7565
+ "attribute": "type",
7566
+ "inheritedFrom": {
7567
+ "name": "BmButton",
7568
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7569
+ }
7438
7570
  },
7439
7571
  {
7440
7572
  "kind": "field",
7441
- "name": "validationRules",
7573
+ "name": "formContext",
7442
7574
  "type": {
7443
- "text": "Array<FormValidator>"
7575
+ "text": "BmFormContext"
7444
7576
  },
7445
- "default": "[]",
7446
- "attribute": "validationRules",
7447
- "description": "Specify form validation rules for FileUpload",
7448
7577
  "inheritedFrom": {
7449
- "name": "FormField",
7450
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7578
+ "name": "BmButton",
7579
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7451
7580
  }
7452
- },
7581
+ }
7582
+ ],
7583
+ "attributes": [
7453
7584
  {
7454
- "kind": "field",
7455
- "name": "fluid",
7585
+ "name": "error",
7456
7586
  "type": {
7457
7587
  "text": "boolean | undefined"
7458
7588
  },
7459
- "description": "Specify if FileUpload is fluid",
7460
- "default": "false",
7461
- "attribute": "fluid"
7589
+ "description": "Specify if FileUpload is in error state",
7590
+ "fieldName": "error"
7462
7591
  },
7463
7592
  {
7464
- "kind": "field",
7465
- "name": "width",
7593
+ "name": "accept",
7466
7594
  "type": {
7467
7595
  "text": "string | undefined"
7468
7596
  },
7469
- "description": "Specify the width of FileUpload",
7470
- "attribute": "width"
7471
- },
7472
- {
7473
- "kind": "field",
7474
- "name": "theme",
7475
- "type": {
7476
- "text": "'light' | 'dark' | undefined"
7477
- },
7478
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7479
- "attribute": "theme"
7480
- },
7481
- {
7482
- "kind": "field",
7483
- "name": "formContext",
7484
- "type": {
7485
- "text": "BmFormContext"
7486
- },
7487
- "inheritedFrom": {
7488
- "name": "FormField",
7489
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7490
- }
7491
- },
7492
- {
7493
- "kind": "field",
7494
- "name": "pickerRef"
7495
- },
7496
- {
7497
- "kind": "method",
7498
- "name": "formAssociatedCallback",
7499
- "return": {
7500
- "type": {
7501
- "text": "void"
7502
- }
7503
- },
7504
- "inheritedFrom": {
7505
- "name": "FormField",
7506
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7507
- }
7508
- },
7509
- {
7510
- "kind": "method",
7511
- "name": "formResetCallback",
7512
- "return": {
7513
- "type": {
7514
- "text": "void"
7515
- }
7516
- },
7517
- "inheritedFrom": {
7518
- "name": "FormField",
7519
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7520
- }
7521
- },
7522
- {
7523
- "kind": "field",
7524
- "name": "formAssociated",
7525
- "type": {
7526
- "text": "boolean"
7527
- },
7528
- "static": true,
7529
- "default": "true",
7530
- "inheritedFrom": {
7531
- "name": "FormField",
7532
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7533
- }
7597
+ "description": "Specify the accepted file types",
7598
+ "fieldName": "accept"
7534
7599
  },
7535
7600
  {
7536
- "kind": "field",
7537
- "name": "id",
7601
+ "name": "multiple",
7538
7602
  "type": {
7539
- "text": "string"
7603
+ "text": "boolean | undefined"
7540
7604
  },
7541
- "default": "''",
7542
- "attribute": "id",
7543
- "inheritedFrom": {
7544
- "name": "FormField",
7545
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7546
- }
7605
+ "description": "Specify if multiple files can be uploaded",
7606
+ "fieldName": "multiple"
7547
7607
  },
7548
7608
  {
7549
- "kind": "field",
7550
- "name": "name",
7609
+ "name": "appearance",
7551
7610
  "type": {
7552
- "text": "string"
7611
+ "text": "'accent' | 'neutral' | 'neutral-subtle' | 'destructive'"
7553
7612
  },
7554
- "default": "''",
7555
- "attribute": "name",
7613
+ "default": "'accent'",
7614
+ "description": "Specify the appearance of a Button",
7615
+ "fieldName": "appearance",
7556
7616
  "inheritedFrom": {
7557
- "name": "FormField",
7558
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7617
+ "name": "BmButton",
7618
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7559
7619
  }
7560
7620
  },
7561
7621
  {
7562
- "kind": "field",
7563
- "name": "value",
7622
+ "name": "kind",
7564
7623
  "type": {
7565
- "text": "string"
7624
+ "text": "'filled' | 'outline' | 'ghost' | 'bare'"
7566
7625
  },
7567
- "default": "''",
7568
- "attribute": "value",
7626
+ "default": "'filled'",
7627
+ "description": "Specify the kind of Button",
7628
+ "fieldName": "kind",
7569
7629
  "inheritedFrom": {
7570
- "name": "FormField",
7571
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7630
+ "name": "BmButton",
7631
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7572
7632
  }
7573
7633
  },
7574
7634
  {
7575
- "kind": "field",
7576
- "name": "inputAriaLabel",
7635
+ "name": "size",
7577
7636
  "type": {
7578
- "text": "string | undefined"
7579
- },
7580
- "attribute": "input-aria-label",
7581
- "inheritedFrom": {
7582
- "name": "FormField",
7583
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7584
- }
7585
- },
7586
- {
7587
- "kind": "method",
7588
- "name": "finalizeAssociatedCallback",
7589
- "return": {
7590
- "type": {
7591
- "text": "FinalizeAssociatedResult"
7592
- }
7637
+ "text": "'sm' | 'md' | 'lg'"
7593
7638
  },
7594
- "parameters": [
7595
- {
7596
- "name": "ctxValue",
7597
- "type": {
7598
- "text": "string"
7599
- }
7600
- }
7601
- ],
7639
+ "default": "'md'",
7640
+ "description": "Specify the size of a Button",
7641
+ "fieldName": "size",
7602
7642
  "inheritedFrom": {
7603
- "name": "FormField",
7604
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7643
+ "name": "BmButton",
7644
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7605
7645
  }
7606
- }
7607
- ],
7608
- "events": [
7609
- {
7610
- "description": "Dispatched when a file is uploaded. Preventing default on this event will make upload asynchronous",
7611
- "name": "bm-selected"
7612
- }
7613
- ],
7614
- "attributes": [
7615
- {
7616
- "name": "accept",
7617
- "type": {
7618
- "text": "string | undefined"
7619
- },
7620
- "description": "Specify what types of files can be uploaded",
7621
- "fieldName": "accept"
7622
- },
7623
- {
7624
- "name": "error",
7625
- "type": {
7626
- "text": "string | boolean | undefined"
7627
- },
7628
- "description": "Specify error text and display error state of FileUpload",
7629
- "fieldName": "error"
7630
7646
  },
7631
7647
  {
7632
7648
  "name": "disabled",
7633
7649
  "type": {
7634
- "text": "boolean | undefined"
7635
- },
7636
- "default": "false",
7637
- "description": "Specify if FileUpload is in disabled state",
7638
- "fieldName": "disabled"
7639
- },
7640
- {
7641
- "name": "multiple",
7642
- "type": {
7643
- "text": "boolean | undefined"
7644
- },
7645
- "description": "Specify if more than one file can be can be uploaded",
7646
- "default": "false",
7647
- "fieldName": "multiple"
7648
- },
7649
- {
7650
- "name": "fileLimit",
7651
- "type": {
7652
- "text": "number | undefined"
7653
- },
7654
- "description": "Specify how many files can be uploaded",
7655
- "fieldName": "fileLimit"
7656
- },
7657
- {
7658
- "name": "maxFileSize",
7659
- "type": {
7660
- "text": "number | undefined"
7661
- },
7662
- "description": "Specify the maximum file size that can be uploaded",
7663
- "fieldName": "maxFileSize"
7664
- },
7665
- {
7666
- "name": "required",
7667
- "type": {
7668
- "text": "boolean | undefined"
7669
- },
7670
- "description": "Specify if FileUpload is a required input",
7671
- "default": "false",
7672
- "fieldName": "required"
7673
- },
7674
- {
7675
- "name": "readOnly",
7676
- "type": {
7677
- "text": "boolean | undefined"
7678
- },
7679
- "description": "Specify if FileUpload is in read-only state",
7680
- "fieldName": "readOnly"
7681
- },
7682
- {
7683
- "name": "hideRequiredMarker",
7684
- "type": {
7685
- "text": "boolean | undefined"
7650
+ "text": "boolean"
7686
7651
  },
7687
- "description": "Specify if FileUpload displays with an asterisk",
7688
7652
  "default": "false",
7689
- "fieldName": "hideRequiredMarker"
7690
- },
7691
- {
7692
- "name": "validationRules",
7693
- "type": {
7694
- "text": "Array<FormValidator>"
7695
- },
7696
- "default": "[]",
7697
- "fieldName": "validationRules",
7698
- "description": "Specify form validation rules for FileUpload",
7653
+ "description": "Specify if the Button is disabled",
7654
+ "fieldName": "disabled",
7699
7655
  "inheritedFrom": {
7700
- "name": "FormField",
7701
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7656
+ "name": "BmButton",
7657
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7702
7658
  }
7703
7659
  },
7704
7660
  {
7705
7661
  "name": "fluid",
7706
7662
  "type": {
7707
- "text": "boolean | undefined"
7663
+ "text": "boolean"
7708
7664
  },
7709
- "description": "Specify if FileUpload is fluid",
7710
7665
  "default": "false",
7711
- "fieldName": "fluid"
7712
- },
7713
- {
7714
- "name": "width",
7715
- "type": {
7716
- "text": "string | undefined"
7717
- },
7718
- "description": "Specify the width of FileUpload",
7719
- "fieldName": "width"
7720
- },
7721
- {
7722
- "name": "theme",
7723
- "type": {
7724
- "text": "'light' | 'dark' | undefined"
7725
- },
7726
- "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7727
- "fieldName": "theme"
7728
- },
7729
- {
7730
- "name": "id",
7731
- "type": {
7732
- "text": "string"
7733
- },
7734
- "default": "''",
7735
- "fieldName": "id",
7666
+ "description": "Specify if Button is fluid",
7667
+ "fieldName": "fluid",
7736
7668
  "inheritedFrom": {
7737
- "name": "FormField",
7738
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7669
+ "name": "BmButton",
7670
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7739
7671
  }
7740
7672
  },
7741
7673
  {
7742
- "name": "name",
7674
+ "name": "width",
7743
7675
  "type": {
7744
- "text": "string"
7676
+ "text": "string | undefined"
7745
7677
  },
7746
- "default": "''",
7747
- "fieldName": "name",
7678
+ "description": "Specify the width of a Button",
7679
+ "fieldName": "width",
7748
7680
  "inheritedFrom": {
7749
- "name": "FormField",
7750
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7681
+ "name": "BmButton",
7682
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7751
7683
  }
7752
7684
  },
7753
7685
  {
7754
- "name": "value",
7686
+ "name": "height",
7755
7687
  "type": {
7756
- "text": "string"
7688
+ "text": "string | undefined"
7757
7689
  },
7758
- "default": "''",
7759
- "fieldName": "value",
7690
+ "description": "Specify the height of a Button",
7691
+ "fieldName": "height",
7760
7692
  "inheritedFrom": {
7761
- "name": "FormField",
7762
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7693
+ "name": "BmButton",
7694
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7763
7695
  }
7764
7696
  },
7765
7697
  {
7766
- "name": "input-aria-label",
7698
+ "name": "theme",
7767
7699
  "type": {
7768
- "text": "string | undefined"
7700
+ "text": "'light' | 'dark' | undefined"
7769
7701
  },
7770
- "fieldName": "inputAriaLabel",
7702
+ "description": "Specify the theme of the Button",
7703
+ "fieldName": "theme",
7771
7704
  "inheritedFrom": {
7772
- "name": "FormField",
7773
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7705
+ "name": "BmButton",
7706
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7774
7707
  }
7775
- }
7776
- ],
7777
- "superclass": {
7778
- "name": "FormField",
7779
- "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
7780
- },
7781
- "tagName": "bm-file-upload",
7782
- "customElement": true
7783
- }
7784
- ],
7785
- "exports": [
7786
- {
7787
- "kind": "js",
7788
- "name": "BmFileUploadFileSelectedEvent",
7789
- "declaration": {
7790
- "name": "BmFileUploadFileSelectedEvent",
7791
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7792
- }
7793
- },
7794
- {
7795
- "kind": "js",
7796
- "name": "BmFileUpload",
7797
- "declaration": {
7798
- "name": "BmFileUpload",
7799
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7800
- }
7801
- },
7802
- {
7803
- "kind": "custom-element-definition",
7804
- "name": "bm-file-upload",
7805
- "declaration": {
7806
- "name": "BmFileUpload",
7807
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
7808
- }
7809
- }
7810
- ]
7811
- },
7812
- {
7813
- "kind": "javascript-module",
7814
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts",
7815
- "declarations": [
7816
- {
7817
- "kind": "variable",
7818
- "name": "fileUploadContext"
7819
- }
7820
- ],
7821
- "exports": [
7822
- {
7823
- "kind": "js",
7824
- "name": "fileUploadContext",
7825
- "declaration": {
7826
- "name": "fileUploadContext",
7827
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts"
7828
- }
7829
- }
7830
- ]
7831
- },
7832
- {
7833
- "kind": "javascript-module",
7834
- "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts",
7835
- "declarations": [
7836
- {
7837
- "kind": "variable",
7838
- "name": "fileUploadListContext"
7839
- }
7840
- ],
7841
- "exports": [
7842
- {
7843
- "kind": "js",
7844
- "name": "fileUploadListContext",
7845
- "declaration": {
7846
- "name": "fileUploadListContext",
7847
- "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts"
7848
- }
7849
- }
7850
- ]
7851
- },
7852
- {
7853
- "kind": "javascript-module",
7854
- "path": "libs/web-components/src/lib/wip/FileUpload/index.ts",
7855
- "declarations": [],
7856
- "exports": [
7857
- {
7858
- "kind": "js",
7859
- "name": "*",
7860
- "declaration": {
7861
- "name": "*",
7862
- "package": "./FileUpload"
7863
- }
7864
- },
7865
- {
7866
- "kind": "js",
7867
- "name": "*",
7868
- "declaration": {
7869
- "name": "*",
7870
- "package": "./FileUpload.Button"
7871
- }
7872
- },
7873
- {
7874
- "kind": "js",
7875
- "name": "*",
7876
- "declaration": {
7877
- "name": "*",
7878
- "package": "./FileUpload.Dropzone"
7879
- }
7880
- },
7881
- {
7882
- "kind": "js",
7883
- "name": "*",
7884
- "declaration": {
7885
- "name": "*",
7886
- "package": "./FileUpload.List"
7887
- }
7888
- },
7889
- {
7890
- "kind": "js",
7891
- "name": "*",
7892
- "declaration": {
7893
- "name": "*",
7894
- "package": "./FileUpload.List.Item"
7895
- }
7896
- }
7897
- ]
7898
- },
7899
- {
7900
- "kind": "javascript-module",
7901
- "path": "libs/web-components/src/lib/wip/Form/Form.context.ts",
7902
- "declarations": [
7903
- {
7904
- "kind": "variable",
7905
- "name": "bmFormInitials",
7906
- "type": {
7907
- "text": "BmFormContext"
7708
+ },
7709
+ {
7710
+ "name": "iconOnly",
7711
+ "type": {
7712
+ "text": "boolean | undefined"
7713
+ },
7714
+ "description": "Specify if the icon displays without text",
7715
+ "fieldName": "iconOnly",
7716
+ "inheritedFrom": {
7717
+ "name": "BmButton",
7718
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7719
+ }
7720
+ },
7721
+ {
7722
+ "name": "type",
7723
+ "type": {
7724
+ "text": "string"
7725
+ },
7726
+ "default": "'button'",
7727
+ "fieldName": "type",
7728
+ "inheritedFrom": {
7729
+ "name": "BmButton",
7730
+ "module": "libs/web-components/src/lib/Button/Button.ts"
7731
+ }
7732
+ }
7733
+ ],
7734
+ "superclass": {
7735
+ "name": "BmButton",
7736
+ "module": "/libs/web-components/src/lib/Button/Button"
7908
7737
  },
7909
- "default": "{ required: false, disabled: false, readOnly: false, initialValues: {}, registerField: () => undefined, formBlurHandler: () => undefined, formChangeHandler: () => undefined, }"
7910
- },
7911
- {
7912
- "kind": "variable",
7913
- "name": "bmFormContext"
7738
+ "tagName": "bm-file-upload-button",
7739
+ "customElement": true
7914
7740
  }
7915
7741
  ],
7916
7742
  "exports": [
7917
7743
  {
7918
7744
  "kind": "js",
7919
- "name": "bmFormInitials",
7745
+ "name": "BmFileUploadButton",
7920
7746
  "declaration": {
7921
- "name": "bmFormInitials",
7922
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7747
+ "name": "BmFileUploadButton",
7748
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts"
7923
7749
  }
7924
7750
  },
7925
7751
  {
7926
- "kind": "js",
7927
- "name": "bmFormContext",
7752
+ "kind": "custom-element-definition",
7753
+ "name": "bm-file-upload-button",
7928
7754
  "declaration": {
7929
- "name": "bmFormContext",
7930
- "module": "libs/web-components/src/lib/wip/Form/Form.context.ts"
7755
+ "name": "BmFileUploadButton",
7756
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Button.ts"
7931
7757
  }
7932
7758
  }
7933
7759
  ]
7934
7760
  },
7935
7761
  {
7936
7762
  "kind": "javascript-module",
7937
- "path": "libs/web-components/src/lib/wip/Form/Form.decorator.ts",
7763
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Dropzone.ts",
7938
7764
  "declarations": [
7939
7765
  {
7940
7766
  "kind": "class",
7941
- "description": "### Attributes:\n- **id** \n- **name** \n- **value** \n- **validationRules** \n- **input-aria-label** ",
7942
- "name": "FormField",
7943
- "members": [
7767
+ "description": "`bm-file-upload-dropzone`\n\n### Attributes:\n- **error** - Specify if FileUpload is in error state\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent\n- **disabled** - Specify if the FileUpload is disabled\n- **accept** - Specify the accepted file types\n- **name** - Specify the name of the FileUpload\n- **multiple** - Specify if multiple files can be uploaded",
7768
+ "name": "BmFileUploadDropzone",
7769
+ "slots": [
7944
7770
  {
7945
- "kind": "field",
7946
- "name": "formAssociated",
7947
- "type": {
7948
- "text": "boolean"
7949
- },
7950
- "static": true,
7951
- "default": "true"
7952
- },
7771
+ "description": "Specify text for the Dropzone",
7772
+ "name": "default"
7773
+ }
7774
+ ],
7775
+ "members": [
7953
7776
  {
7954
7777
  "kind": "field",
7955
- "name": "id",
7778
+ "name": "error",
7956
7779
  "type": {
7957
- "text": "string"
7780
+ "text": "boolean | undefined"
7958
7781
  },
7959
- "default": "''",
7960
- "attribute": "id"
7782
+ "description": "Specify if FileUpload is in error state",
7783
+ "attribute": "error"
7961
7784
  },
7962
7785
  {
7963
7786
  "kind": "field",
7964
- "name": "name",
7787
+ "name": "theme",
7965
7788
  "type": {
7966
- "text": "string"
7789
+ "text": "'light' | 'dark' | undefined"
7967
7790
  },
7968
- "default": "''",
7969
- "attribute": "name"
7791
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7792
+ "attribute": "theme"
7970
7793
  },
7971
7794
  {
7972
7795
  "kind": "field",
7973
- "name": "value",
7796
+ "name": "disabled",
7974
7797
  "type": {
7975
- "text": "string"
7798
+ "text": "boolean | undefined"
7976
7799
  },
7977
- "default": "''",
7978
- "attribute": "value"
7800
+ "default": "false",
7801
+ "description": "Specify if the FileUpload is disabled",
7802
+ "attribute": "disabled"
7979
7803
  },
7980
7804
  {
7981
7805
  "kind": "field",
7982
- "name": "validationRules",
7806
+ "name": "accept",
7983
7807
  "type": {
7984
- "text": "Array<FormValidator>"
7808
+ "text": "string | undefined"
7985
7809
  },
7986
- "default": "[]",
7987
- "attribute": "validationRules"
7810
+ "description": "Specify the accepted file types",
7811
+ "attribute": "accept"
7988
7812
  },
7989
7813
  {
7990
7814
  "kind": "field",
7991
- "name": "inputAriaLabel",
7815
+ "name": "name",
7992
7816
  "type": {
7993
7817
  "text": "string | undefined"
7994
7818
  },
7995
- "attribute": "input-aria-label"
7819
+ "description": "Specify the name of the FileUpload",
7820
+ "attribute": "name"
7996
7821
  },
7997
7822
  {
7998
7823
  "kind": "field",
7999
- "name": "formContext",
7824
+ "name": "multiple",
8000
7825
  "type": {
8001
- "text": "BmFormContext"
8002
- }
8003
- },
8004
- {
8005
- "kind": "method",
8006
- "name": "formAssociatedCallback",
8007
- "return": {
8008
- "type": {
8009
- "text": "void"
8010
- }
8011
- }
8012
- },
8013
- {
8014
- "kind": "method",
8015
- "name": "formResetCallback",
8016
- "return": {
8017
- "type": {
8018
- "text": "void"
8019
- }
8020
- }
7826
+ "text": "boolean | undefined"
7827
+ },
7828
+ "description": "Specify if multiple files can be uploaded",
7829
+ "attribute": "multiple"
8021
7830
  },
8022
7831
  {
8023
7832
  "kind": "method",
8024
- "name": "finalizeAssociatedCallback",
8025
- "return": {
8026
- "type": {
8027
- "text": "FinalizeAssociatedResult"
8028
- }
8029
- },
8030
- "parameters": [
8031
- {
8032
- "name": "ctxValue",
8033
- "type": {
8034
- "text": "string"
8035
- }
8036
- }
8037
- ]
7833
+ "name": "focus",
7834
+ "privacy": "public"
8038
7835
  }
8039
7836
  ],
8040
7837
  "attributes": [
8041
7838
  {
8042
- "name": "id",
7839
+ "name": "error",
8043
7840
  "type": {
8044
- "text": "string"
7841
+ "text": "boolean | undefined"
8045
7842
  },
8046
- "default": "''",
8047
- "fieldName": "id"
7843
+ "description": "Specify if FileUpload is in error state",
7844
+ "fieldName": "error"
8048
7845
  },
8049
7846
  {
8050
- "name": "name",
7847
+ "name": "theme",
8051
7848
  "type": {
8052
- "text": "string"
7849
+ "text": "'light' | 'dark' | undefined"
8053
7850
  },
8054
- "default": "''",
8055
- "fieldName": "name"
7851
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7852
+ "fieldName": "theme"
8056
7853
  },
8057
7854
  {
8058
- "name": "value",
7855
+ "name": "disabled",
8059
7856
  "type": {
8060
- "text": "string"
7857
+ "text": "boolean | undefined"
8061
7858
  },
8062
- "default": "''",
8063
- "fieldName": "value"
7859
+ "default": "false",
7860
+ "description": "Specify if the FileUpload is disabled",
7861
+ "fieldName": "disabled"
8064
7862
  },
8065
7863
  {
8066
- "name": "validationRules",
7864
+ "name": "accept",
8067
7865
  "type": {
8068
- "text": "Array<FormValidator>"
7866
+ "text": "string | undefined"
8069
7867
  },
8070
- "default": "[]",
8071
- "fieldName": "validationRules"
7868
+ "description": "Specify the accepted file types",
7869
+ "fieldName": "accept"
8072
7870
  },
8073
7871
  {
8074
- "name": "input-aria-label",
7872
+ "name": "name",
8075
7873
  "type": {
8076
7874
  "text": "string | undefined"
8077
7875
  },
8078
- "fieldName": "inputAriaLabel"
7876
+ "description": "Specify the name of the FileUpload",
7877
+ "fieldName": "name"
7878
+ },
7879
+ {
7880
+ "name": "multiple",
7881
+ "type": {
7882
+ "text": "boolean | undefined"
7883
+ },
7884
+ "description": "Specify if multiple files can be uploaded",
7885
+ "fieldName": "multiple"
8079
7886
  }
8080
7887
  ],
8081
7888
  "superclass": {
8082
7889
  "name": "LitElement",
8083
7890
  "package": "lit"
8084
7891
  },
7892
+ "tagName": "bm-file-upload-dropzone",
8085
7893
  "customElement": true
8086
7894
  }
8087
7895
  ],
8088
7896
  "exports": [
8089
7897
  {
8090
7898
  "kind": "js",
8091
- "name": "FormField",
7899
+ "name": "BmFileUploadDropzone",
8092
7900
  "declaration": {
8093
- "name": "FormField",
8094
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
7901
+ "name": "BmFileUploadDropzone",
7902
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Dropzone.ts"
7903
+ }
7904
+ },
7905
+ {
7906
+ "kind": "custom-element-definition",
7907
+ "name": "bm-file-upload-dropzone",
7908
+ "declaration": {
7909
+ "name": "BmFileUploadDropzone",
7910
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.Dropzone.ts"
8095
7911
  }
8096
7912
  }
8097
7913
  ]
8098
7914
  },
8099
7915
  {
8100
7916
  "kind": "javascript-module",
8101
- "path": "libs/web-components/src/lib/wip/Form/Form.ts",
7917
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.Item.ts",
8102
7918
  "declarations": [
8103
7919
  {
8104
7920
  "kind": "class",
8105
- "description": "### Attributes:\n- **validationMode** - Specify if validation runs on change or when loosing focus\n- **initialValues** - Specify initial values on Form controls based on their names\n- **required** - Specify if input is a required\n- **disabled** - Specify if input is a disabled\n- **readOnly** - Specify if input is a read only\n- **action** \n- **method** \n- **target** \n- **enctype** ",
8106
- "name": "BmForm",
8107
- "slots": [
8108
- {
8109
- "description": "Add controls to the Form",
8110
- "name": "slot"
8111
- }
8112
- ],
7921
+ "description": "`bm-file-upload-list-item`\n\n### Attributes:\n- **error** - Specify error text and display error state of list item\n- **fileName** - The name of the uploaded file\n- **fileSize** - The size of the uploaded file\n- **size** - Specify the size of the item\n- **thumbnail** - Specify if the item displays a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.\n- **state** - Specify the status of the file\n- **progress** - Specify the progress of the file upload\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent\n- **disabled** - Specify if the FileUpload is disabled",
7922
+ "name": "BmFileUploadListItem",
8113
7923
  "members": [
8114
7924
  {
8115
7925
  "kind": "field",
8116
- "name": "validationMode",
8117
- "type": {
8118
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8119
- },
8120
- "default": "'onBlur'",
8121
- "description": "Specify if validation runs on change or when loosing focus",
8122
- "attribute": "validationMode"
8123
- },
8124
- {
8125
- "kind": "field",
8126
- "name": "initialValues",
8127
- "type": {
8128
- "text": "Record<string, FormValue>"
8129
- },
8130
- "default": "{}",
8131
- "description": "Specify initial values on Form controls based on their names",
8132
- "attribute": "initialValues"
8133
- },
8134
- {
8135
- "kind": "field",
8136
- "name": "required",
8137
- "type": {
8138
- "text": "boolean"
8139
- },
8140
- "default": "false",
8141
- "description": "Specify if input is a required",
8142
- "attribute": "required"
8143
- },
8144
- {
8145
- "kind": "field",
8146
- "name": "disabled",
7926
+ "name": "error",
8147
7927
  "type": {
8148
- "text": "boolean"
7928
+ "text": "string | undefined"
8149
7929
  },
8150
- "default": "false",
8151
- "description": "Specify if input is a disabled",
8152
- "attribute": "disabled"
7930
+ "default": "''",
7931
+ "description": "Specify error text and display error state of list item",
7932
+ "attribute": "error"
8153
7933
  },
8154
7934
  {
8155
7935
  "kind": "field",
8156
- "name": "readOnly",
7936
+ "name": "fileName",
8157
7937
  "type": {
8158
- "text": "boolean"
7938
+ "text": "string | undefined"
8159
7939
  },
8160
- "default": "false",
8161
- "description": "Specify if input is a read only",
8162
- "attribute": "readOnly"
7940
+ "description": "The name of the uploaded file",
7941
+ "attribute": "fileName"
8163
7942
  },
8164
7943
  {
8165
7944
  "kind": "field",
8166
- "name": "action",
7945
+ "name": "fileSize",
8167
7946
  "type": {
8168
7947
  "text": "string | undefined"
8169
7948
  },
8170
- "attribute": "action"
7949
+ "description": "The size of the uploaded file",
7950
+ "attribute": "fileSize"
8171
7951
  },
8172
7952
  {
8173
7953
  "kind": "field",
8174
- "name": "method",
7954
+ "name": "size",
8175
7955
  "type": {
8176
- "text": "string | undefined"
7956
+ "text": "'md' | 'lg' | undefined"
8177
7957
  },
8178
- "attribute": "method"
7958
+ "default": "'md'",
7959
+ "description": "Specify the size of the item",
7960
+ "attribute": "size"
8179
7961
  },
8180
7962
  {
8181
7963
  "kind": "field",
8182
- "name": "target",
7964
+ "name": "thumbnail",
8183
7965
  "type": {
8184
- "text": "string | undefined"
7966
+ "text": "string | boolean | undefined"
8185
7967
  },
8186
- "attribute": "target"
7968
+ "description": "Specify if the item displays a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
7969
+ "default": "false",
7970
+ "attribute": "thumbnail"
8187
7971
  },
8188
7972
  {
8189
7973
  "kind": "field",
8190
- "name": "enctype",
7974
+ "name": "state",
8191
7975
  "type": {
8192
- "text": "string | undefined"
7976
+ "text": "'error' | 'success' | 'uploading' | 'uploaded'"
8193
7977
  },
8194
- "attribute": "enctype"
7978
+ "default": "'uploaded'",
7979
+ "description": "Specify the status of the file",
7980
+ "attribute": "state"
8195
7981
  },
8196
7982
  {
8197
7983
  "kind": "field",
8198
- "name": "formMeta",
7984
+ "name": "progress",
8199
7985
  "type": {
8200
- "text": "Record<string, FieldMeta>"
7986
+ "text": "number | undefined"
8201
7987
  },
8202
- "default": "{}"
7988
+ "default": "0",
7989
+ "description": "Specify the progress of the file upload",
7990
+ "attribute": "progress"
8203
7991
  },
8204
7992
  {
8205
7993
  "kind": "field",
8206
- "name": "formRef"
7994
+ "name": "theme",
7995
+ "type": {
7996
+ "text": "'light' | 'dark' | undefined"
7997
+ },
7998
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
7999
+ "attribute": "theme"
8207
8000
  },
8208
8001
  {
8209
8002
  "kind": "field",
8210
- "name": "formContext",
8003
+ "name": "disabled",
8211
8004
  "type": {
8212
- "text": "BmFormContext"
8005
+ "text": "boolean | undefined"
8213
8006
  },
8214
- "privacy": "public",
8215
- "default": "bmFormInitials"
8007
+ "description": "Specify if the FileUpload is disabled",
8008
+ "attribute": "disabled"
8216
8009
  }
8217
8010
  ],
8218
8011
  "events": [
8219
8012
  {
8220
- "description": "Validates the inputs and submits the form",
8221
- "name": "submit"
8013
+ "description": "Dispatched when the dismiss button is clicked",
8014
+ "name": "bm-dismiss"
8222
8015
  }
8223
8016
  ],
8224
8017
  "attributes": [
8225
8018
  {
8226
- "name": "validationMode",
8019
+ "name": "error",
8227
8020
  "type": {
8228
- "text": "'onChange' | 'onBlur' | 'onSubmit'"
8021
+ "text": "string | undefined"
8229
8022
  },
8230
- "default": "'onBlur'",
8231
- "description": "Specify if validation runs on change or when loosing focus",
8232
- "fieldName": "validationMode"
8023
+ "default": "''",
8024
+ "description": "Specify error text and display error state of list item",
8025
+ "fieldName": "error"
8233
8026
  },
8234
8027
  {
8235
- "name": "initialValues",
8028
+ "name": "fileName",
8236
8029
  "type": {
8237
- "text": "Record<string, FormValue>"
8030
+ "text": "string | undefined"
8238
8031
  },
8239
- "default": "{}",
8240
- "description": "Specify initial values on Form controls based on their names",
8241
- "fieldName": "initialValues"
8032
+ "description": "The name of the uploaded file",
8033
+ "fieldName": "fileName"
8242
8034
  },
8243
8035
  {
8244
- "name": "required",
8036
+ "name": "fileSize",
8245
8037
  "type": {
8246
- "text": "boolean"
8038
+ "text": "string | undefined"
8247
8039
  },
8248
- "default": "false",
8249
- "description": "Specify if input is a required",
8250
- "fieldName": "required"
8040
+ "description": "The size of the uploaded file",
8041
+ "fieldName": "fileSize"
8251
8042
  },
8252
8043
  {
8253
- "name": "disabled",
8044
+ "name": "size",
8254
8045
  "type": {
8255
- "text": "boolean"
8046
+ "text": "'md' | 'lg' | undefined"
8256
8047
  },
8257
- "default": "false",
8258
- "description": "Specify if input is a disabled",
8259
- "fieldName": "disabled"
8048
+ "default": "'md'",
8049
+ "description": "Specify the size of the item",
8050
+ "fieldName": "size"
8260
8051
  },
8261
8052
  {
8262
- "name": "readOnly",
8053
+ "name": "thumbnail",
8263
8054
  "type": {
8264
- "text": "boolean"
8055
+ "text": "string | boolean | undefined"
8265
8056
  },
8057
+ "description": "Specify if the item displays a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
8266
8058
  "default": "false",
8267
- "description": "Specify if input is a read only",
8268
- "fieldName": "readOnly"
8059
+ "fieldName": "thumbnail"
8269
8060
  },
8270
8061
  {
8271
- "name": "action",
8062
+ "name": "state",
8272
8063
  "type": {
8273
- "text": "string | undefined"
8064
+ "text": "'error' | 'success' | 'uploading' | 'uploaded'"
8274
8065
  },
8275
- "fieldName": "action"
8066
+ "default": "'uploaded'",
8067
+ "description": "Specify the status of the file",
8068
+ "fieldName": "state"
8276
8069
  },
8277
8070
  {
8278
- "name": "method",
8071
+ "name": "progress",
8279
8072
  "type": {
8280
- "text": "string | undefined"
8073
+ "text": "number | undefined"
8281
8074
  },
8282
- "fieldName": "method"
8075
+ "default": "0",
8076
+ "description": "Specify the progress of the file upload",
8077
+ "fieldName": "progress"
8283
8078
  },
8284
8079
  {
8285
- "name": "target",
8080
+ "name": "theme",
8286
8081
  "type": {
8287
- "text": "string | undefined"
8082
+ "text": "'light' | 'dark' | undefined"
8288
8083
  },
8289
- "fieldName": "target"
8084
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8085
+ "fieldName": "theme"
8290
8086
  },
8291
8087
  {
8292
- "name": "enctype",
8088
+ "name": "disabled",
8293
8089
  "type": {
8294
- "text": "string | undefined"
8090
+ "text": "boolean | undefined"
8295
8091
  },
8296
- "fieldName": "enctype"
8092
+ "description": "Specify if the FileUpload is disabled",
8093
+ "fieldName": "disabled"
8297
8094
  }
8298
8095
  ],
8299
8096
  "superclass": {
8300
8097
  "name": "LitElement",
8301
8098
  "package": "lit"
8302
8099
  },
8303
- "summary": "`bm-form`",
8304
- "tagName": "bm-form",
8100
+ "tagName": "bm-file-upload-list-item",
8305
8101
  "customElement": true
8306
8102
  }
8307
8103
  ],
8308
8104
  "exports": [
8309
8105
  {
8310
8106
  "kind": "js",
8311
- "name": "validators",
8312
- "declaration": {
8313
- "name": "validators",
8314
- "package": "@viasat/beam-shared/components/form"
8315
- }
8316
- },
8317
- {
8318
- "kind": "js",
8319
- "name": "BmForm",
8107
+ "name": "BmFileUploadListItem",
8320
8108
  "declaration": {
8321
- "name": "BmForm",
8322
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8109
+ "name": "BmFileUploadListItem",
8110
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.Item.ts"
8323
8111
  }
8324
8112
  },
8325
8113
  {
8326
8114
  "kind": "custom-element-definition",
8327
- "name": "bm-form",
8115
+ "name": "bm-file-upload-list-item",
8328
8116
  "declaration": {
8329
- "name": "BmForm",
8330
- "module": "libs/web-components/src/lib/wip/Form/Form.ts"
8117
+ "name": "BmFileUploadListItem",
8118
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.Item.ts"
8331
8119
  }
8332
8120
  }
8333
8121
  ]
8334
8122
  },
8335
8123
  {
8336
8124
  "kind": "javascript-module",
8337
- "path": "libs/web-components/src/lib/wip/Form/Form.utils.ts",
8125
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.ts",
8338
8126
  "declarations": [
8339
8127
  {
8340
- "kind": "function",
8341
- "name": "createId",
8342
- "return": {
8343
- "type": {
8344
- "text": "string"
8128
+ "kind": "class",
8129
+ "description": "`bm-file-upload-list`\n\n### Attributes:\n- **thumbnail** - Specify if the all items displays with a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.\n- **size** - Specify FileUpload List size\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent\n- **disabled** - Specify if the FileUpload is disabled\n- **renderItem** - Specify a render function for the list item",
8130
+ "name": "BmFileUploadList",
8131
+ "slots": [
8132
+ {
8133
+ "description": "Specify the list items",
8134
+ "name": "default"
8135
+ }
8136
+ ],
8137
+ "members": [
8138
+ {
8139
+ "kind": "field",
8140
+ "name": "thumbnail",
8141
+ "type": {
8142
+ "text": "boolean | undefined"
8143
+ },
8144
+ "description": "Specify if the all items displays with a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
8145
+ "default": "false",
8146
+ "attribute": "thumbnail"
8147
+ },
8148
+ {
8149
+ "kind": "field",
8150
+ "name": "size",
8151
+ "type": {
8152
+ "text": "'md' | 'lg' | undefined"
8153
+ },
8154
+ "description": "Specify FileUpload List size",
8155
+ "default": "'md'",
8156
+ "attribute": "size"
8157
+ },
8158
+ {
8159
+ "kind": "field",
8160
+ "name": "theme",
8161
+ "type": {
8162
+ "text": "'light' | 'dark' | undefined"
8163
+ },
8164
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8165
+ "attribute": "theme"
8166
+ },
8167
+ {
8168
+ "kind": "field",
8169
+ "name": "disabled",
8170
+ "type": {
8171
+ "text": "boolean | undefined"
8172
+ },
8173
+ "description": "Specify if the FileUpload is disabled",
8174
+ "attribute": "disabled"
8175
+ },
8176
+ {
8177
+ "kind": "field",
8178
+ "name": "renderItem",
8179
+ "type": {
8180
+ "text": "(fileItem: FileItem, dismissFile: () => void) => void | undefined"
8181
+ },
8182
+ "description": "Specify a render function for the list item",
8183
+ "attribute": "renderItem"
8184
+ }
8185
+ ],
8186
+ "attributes": [
8187
+ {
8188
+ "name": "thumbnail",
8189
+ "type": {
8190
+ "text": "boolean | undefined"
8191
+ },
8192
+ "description": "Specify if the all items displays with a default thumbnail or a preview of the image being uploaded. Image only displays for size lg.",
8193
+ "default": "false",
8194
+ "fieldName": "thumbnail"
8195
+ },
8196
+ {
8197
+ "name": "size",
8198
+ "type": {
8199
+ "text": "'md' | 'lg' | undefined"
8200
+ },
8201
+ "description": "Specify FileUpload List size",
8202
+ "default": "'md'",
8203
+ "fieldName": "size"
8204
+ },
8205
+ {
8206
+ "name": "theme",
8207
+ "type": {
8208
+ "text": "'light' | 'dark' | undefined"
8209
+ },
8210
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8211
+ "fieldName": "theme"
8212
+ },
8213
+ {
8214
+ "name": "disabled",
8215
+ "type": {
8216
+ "text": "boolean | undefined"
8217
+ },
8218
+ "description": "Specify if the FileUpload is disabled",
8219
+ "fieldName": "disabled"
8220
+ },
8221
+ {
8222
+ "name": "renderItem",
8223
+ "type": {
8224
+ "text": "(fileItem: FileItem, dismissFile: () => void) => void | undefined"
8225
+ },
8226
+ "description": "Specify a render function for the list item",
8227
+ "fieldName": "renderItem"
8345
8228
  }
8346
- }
8229
+ ],
8230
+ "superclass": {
8231
+ "name": "LitElement",
8232
+ "package": "lit"
8233
+ },
8234
+ "tagName": "bm-file-upload-list",
8235
+ "customElement": true
8347
8236
  }
8348
8237
  ],
8349
8238
  "exports": [
8350
8239
  {
8351
8240
  "kind": "js",
8352
- "name": "createId",
8353
- "declaration": {
8354
- "name": "createId",
8355
- "module": "libs/web-components/src/lib/wip/Form/Form.utils.ts"
8356
- }
8357
- }
8358
- ]
8359
- },
8360
- {
8361
- "kind": "javascript-module",
8362
- "path": "libs/web-components/src/lib/wip/Form/index.ts",
8363
- "declarations": [],
8364
- "exports": [
8365
- {
8366
- "kind": "js",
8367
- "name": "*",
8241
+ "name": "BmFileUploadList",
8368
8242
  "declaration": {
8369
- "name": "*",
8370
- "package": "./Form"
8243
+ "name": "BmFileUploadList",
8244
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.ts"
8371
8245
  }
8372
8246
  },
8373
8247
  {
8374
- "kind": "js",
8375
- "name": "*",
8248
+ "kind": "custom-element-definition",
8249
+ "name": "bm-file-upload-list",
8376
8250
  "declaration": {
8377
- "name": "*",
8378
- "package": "./Form.decorator"
8251
+ "name": "BmFileUploadList",
8252
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.List.ts"
8379
8253
  }
8380
8254
  }
8381
8255
  ]
8382
8256
  },
8383
8257
  {
8384
8258
  "kind": "javascript-module",
8385
- "path": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts",
8259
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts",
8386
8260
  "declarations": [
8387
8261
  {
8388
8262
  "kind": "class",
8389
- "description": "### Attributes:\n- **required** - Specify if NativeSelect is a required input\n- **readOnly** - Specify if NativeSelect displays in a read-only state\n- **disabled** - Specify if NativeSelect displays in a disabled state\n- **error** - Specify error text and display error state of a NativeSelect\n- **fluid** - Specify if NativeSelect is fluid\n- **size** - Specify the size of NativeSelect\n- **width** - Specify the width of NativeSelect\n- **ellipse** - Specify if overflow displays ellipsis\n- **hideRequiredMarker** - Specify if the NativeSelect displays with an asterisk\n- **theme** - Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8390
- "name": "BmNativeSelect",
8263
+ "description": "",
8264
+ "name": "BmFileUploadFileSelectedEvent",
8265
+ "superclass": {
8266
+ "name": "CustomEvent",
8267
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8268
+ }
8269
+ },
8270
+ {
8271
+ "kind": "class",
8272
+ "description": "`bm-file-upload`\n\n### Attributes:\n- **accept** - Specify what types of files can be uploaded\n- **error** - Specify error text and display error state of FileUpload\n- **disabled** - Specify if FileUpload is in disabled state\n- **multiple** - Specify if more than one file can be can be uploaded\n- **fileLimit** - Specify how many files can be uploaded\n- **maxFileSize** - Specify the maximum file size that can be uploaded\n- **required** - Specify if FileUpload is a required input\n- **readOnly** - Specify if FileUpload is in read-only state\n- **hideRequiredMarker** - Specify if FileUpload displays with an asterisk\n- **validationRules** - Specify form validation rules for FileUpload\n- **fluid** - Specify if FileUpload is fluid\n- **width** - Specify the width of FileUpload\n- **theme** - Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8273
+ "name": "BmFileUpload",
8391
8274
  "slots": [
8392
8275
  {
8393
- "description": "Specify Options for NativeSelect",
8394
- "name": "slot"
8395
- },
8396
- {
8397
- "description": "Specify Label for NativeSelect",
8276
+ "description": "Specify Label for for FileUpload",
8398
8277
  "name": "label"
8399
8278
  },
8400
8279
  {
8401
- "description": "Specify HelperText for NativeSelect",
8280
+ "description": "Specify HelperText for FileUpload",
8402
8281
  "name": "helper-text"
8403
8282
  }
8404
8283
  ],
8405
8284
  "members": [
8406
8285
  {
8407
8286
  "kind": "field",
8408
- "name": "required",
8287
+ "name": "accept",
8409
8288
  "type": {
8410
- "text": "boolean"
8289
+ "text": "string | undefined"
8411
8290
  },
8412
- "default": "false",
8413
- "description": "Specify if NativeSelect is a required input",
8414
- "attribute": "required"
8291
+ "description": "Specify what types of files can be uploaded",
8292
+ "attribute": "accept"
8415
8293
  },
8416
8294
  {
8417
8295
  "kind": "field",
8418
- "name": "readOnly",
8296
+ "name": "error",
8419
8297
  "type": {
8420
- "text": "boolean"
8298
+ "text": "string | boolean | undefined"
8421
8299
  },
8422
- "default": "false",
8423
- "description": "Specify if NativeSelect displays in a read-only state",
8424
- "attribute": "readOnly"
8300
+ "description": "Specify error text and display error state of FileUpload",
8301
+ "attribute": "error"
8425
8302
  },
8426
8303
  {
8427
8304
  "kind": "field",
8428
8305
  "name": "disabled",
8429
8306
  "type": {
8430
- "text": "boolean"
8307
+ "text": "boolean | undefined"
8431
8308
  },
8432
8309
  "default": "false",
8433
- "description": "Specify if NativeSelect displays in a disabled state",
8310
+ "description": "Specify if FileUpload is in disabled state",
8434
8311
  "attribute": "disabled"
8435
8312
  },
8436
8313
  {
8437
8314
  "kind": "field",
8438
- "name": "error",
8315
+ "name": "multiple",
8439
8316
  "type": {
8440
- "text": "string | undefined"
8317
+ "text": "boolean | undefined"
8441
8318
  },
8442
- "description": "Specify error text and display error state of a NativeSelect",
8443
- "attribute": "error"
8319
+ "description": "Specify if more than one file can be can be uploaded",
8320
+ "default": "false",
8321
+ "attribute": "multiple"
8444
8322
  },
8445
8323
  {
8446
8324
  "kind": "field",
8447
- "name": "fluid",
8325
+ "name": "fileLimit",
8448
8326
  "type": {
8449
- "text": "boolean"
8327
+ "text": "number | undefined"
8450
8328
  },
8451
- "default": "false",
8452
- "description": "Specify if NativeSelect is fluid",
8453
- "attribute": "fluid"
8329
+ "description": "Specify how many files can be uploaded",
8330
+ "attribute": "fileLimit"
8454
8331
  },
8455
8332
  {
8456
8333
  "kind": "field",
8457
- "name": "size",
8334
+ "name": "maxFileSize",
8458
8335
  "type": {
8459
- "text": "'sm' | 'md' | 'lg'"
8336
+ "text": "number | undefined"
8460
8337
  },
8461
- "default": "defaultInputSize",
8462
- "description": "Specify the size of NativeSelect",
8463
- "attribute": "size"
8338
+ "description": "Specify the maximum file size that can be uploaded",
8339
+ "attribute": "maxFileSize"
8464
8340
  },
8465
8341
  {
8466
8342
  "kind": "field",
8467
- "name": "width",
8343
+ "name": "required",
8468
8344
  "type": {
8469
- "text": "string | undefined"
8345
+ "text": "boolean | undefined"
8470
8346
  },
8471
- "description": "Specify the width of NativeSelect",
8472
- "attribute": "width"
8347
+ "description": "Specify if FileUpload is a required input",
8348
+ "default": "false",
8349
+ "attribute": "required"
8473
8350
  },
8474
8351
  {
8475
8352
  "kind": "field",
8476
- "name": "ellipse",
8353
+ "name": "readOnly",
8477
8354
  "type": {
8478
- "text": "boolean"
8355
+ "text": "boolean | undefined"
8479
8356
  },
8480
- "default": "true",
8481
- "description": "Specify if overflow displays ellipsis",
8482
- "attribute": "ellipse"
8357
+ "description": "Specify if FileUpload is in read-only state",
8358
+ "attribute": "readOnly"
8483
8359
  },
8484
8360
  {
8485
8361
  "kind": "field",
8486
8362
  "name": "hideRequiredMarker",
8487
8363
  "type": {
8488
- "text": "boolean"
8364
+ "text": "boolean | undefined"
8489
8365
  },
8366
+ "description": "Specify if FileUpload displays with an asterisk",
8490
8367
  "default": "false",
8491
- "description": "Specify if the NativeSelect displays with an asterisk",
8492
8368
  "attribute": "hideRequiredMarker"
8493
8369
  },
8494
8370
  {
8495
8371
  "kind": "field",
8496
- "name": "theme",
8372
+ "name": "validationRules",
8497
8373
  "type": {
8498
- "text": "'light' | 'dark' | undefined"
8499
- },
8500
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8501
- "attribute": "theme"
8502
- },
8503
- {
8504
- "kind": "method",
8505
- "name": "finalizeAssociatedCallback",
8506
- "return": {
8507
- "type": {
8508
- "text": "FinalizeAssociatedResult"
8509
- }
8374
+ "text": "Array<FormValidator>"
8510
8375
  },
8511
- "parameters": [
8512
- {
8513
- "name": "value",
8514
- "type": {
8515
- "text": "string"
8516
- }
8517
- }
8518
- ],
8376
+ "default": "[]",
8377
+ "attribute": "validationRules",
8378
+ "description": "Specify form validation rules for FileUpload",
8519
8379
  "inheritedFrom": {
8520
8380
  "name": "FormField",
8521
8381
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8523,12 +8383,38 @@
8523
8383
  },
8524
8384
  {
8525
8385
  "kind": "field",
8526
- "name": "formAssociated",
8386
+ "name": "fluid",
8527
8387
  "type": {
8528
- "text": "boolean"
8388
+ "text": "boolean | undefined"
8389
+ },
8390
+ "description": "Specify if FileUpload is fluid",
8391
+ "default": "false",
8392
+ "attribute": "fluid"
8393
+ },
8394
+ {
8395
+ "kind": "field",
8396
+ "name": "width",
8397
+ "type": {
8398
+ "text": "string | undefined"
8399
+ },
8400
+ "description": "Specify the width of FileUpload",
8401
+ "attribute": "width"
8402
+ },
8403
+ {
8404
+ "kind": "field",
8405
+ "name": "theme",
8406
+ "type": {
8407
+ "text": "'light' | 'dark' | undefined"
8408
+ },
8409
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8410
+ "attribute": "theme"
8411
+ },
8412
+ {
8413
+ "kind": "field",
8414
+ "name": "formContext",
8415
+ "type": {
8416
+ "text": "BmFormContext"
8529
8417
  },
8530
- "static": true,
8531
- "default": "true",
8532
8418
  "inheritedFrom": {
8533
8419
  "name": "FormField",
8534
8420
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8536,25 +8422,29 @@
8536
8422
  },
8537
8423
  {
8538
8424
  "kind": "field",
8539
- "name": "id",
8540
- "type": {
8541
- "text": "string"
8425
+ "name": "pickerRef"
8426
+ },
8427
+ {
8428
+ "kind": "method",
8429
+ "name": "formAssociatedCallback",
8430
+ "return": {
8431
+ "type": {
8432
+ "text": "void"
8433
+ }
8542
8434
  },
8543
- "default": "''",
8544
- "attribute": "id",
8545
8435
  "inheritedFrom": {
8546
8436
  "name": "FormField",
8547
8437
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8548
8438
  }
8549
8439
  },
8550
8440
  {
8551
- "kind": "field",
8552
- "name": "name",
8553
- "type": {
8554
- "text": "string"
8441
+ "kind": "method",
8442
+ "name": "formResetCallback",
8443
+ "return": {
8444
+ "type": {
8445
+ "text": "void"
8446
+ }
8555
8447
  },
8556
- "default": "''",
8557
- "attribute": "name",
8558
8448
  "inheritedFrom": {
8559
8449
  "name": "FormField",
8560
8450
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8562,12 +8452,12 @@
8562
8452
  },
8563
8453
  {
8564
8454
  "kind": "field",
8565
- "name": "value",
8455
+ "name": "formAssociated",
8566
8456
  "type": {
8567
- "text": "string"
8457
+ "text": "boolean"
8568
8458
  },
8569
- "default": "''",
8570
- "attribute": "value",
8459
+ "static": true,
8460
+ "default": "true",
8571
8461
  "inheritedFrom": {
8572
8462
  "name": "FormField",
8573
8463
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8575,12 +8465,12 @@
8575
8465
  },
8576
8466
  {
8577
8467
  "kind": "field",
8578
- "name": "validationRules",
8468
+ "name": "id",
8579
8469
  "type": {
8580
- "text": "Array<FormValidator>"
8470
+ "text": "string"
8581
8471
  },
8582
- "default": "[]",
8583
- "attribute": "validationRules",
8472
+ "default": "''",
8473
+ "attribute": "id",
8584
8474
  "inheritedFrom": {
8585
8475
  "name": "FormField",
8586
8476
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8588,11 +8478,12 @@
8588
8478
  },
8589
8479
  {
8590
8480
  "kind": "field",
8591
- "name": "inputAriaLabel",
8481
+ "name": "name",
8592
8482
  "type": {
8593
- "text": "string | undefined"
8483
+ "text": "string"
8594
8484
  },
8595
- "attribute": "input-aria-label",
8485
+ "default": "''",
8486
+ "attribute": "name",
8596
8487
  "inheritedFrom": {
8597
8488
  "name": "FormField",
8598
8489
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8600,23 +8491,24 @@
8600
8491
  },
8601
8492
  {
8602
8493
  "kind": "field",
8603
- "name": "formContext",
8494
+ "name": "value",
8604
8495
  "type": {
8605
- "text": "BmFormContext"
8496
+ "text": "string"
8606
8497
  },
8498
+ "default": "''",
8499
+ "attribute": "value",
8607
8500
  "inheritedFrom": {
8608
8501
  "name": "FormField",
8609
8502
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8610
8503
  }
8611
8504
  },
8612
8505
  {
8613
- "kind": "method",
8614
- "name": "formAssociatedCallback",
8615
- "return": {
8616
- "type": {
8617
- "text": "void"
8618
- }
8506
+ "kind": "field",
8507
+ "name": "inputAriaLabel",
8508
+ "type": {
8509
+ "text": "string | undefined"
8619
8510
  },
8511
+ "attribute": "input-aria-label",
8620
8512
  "inheritedFrom": {
8621
8513
  "name": "FormField",
8622
8514
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
@@ -8624,104 +8516,145 @@
8624
8516
  },
8625
8517
  {
8626
8518
  "kind": "method",
8627
- "name": "formResetCallback",
8519
+ "name": "finalizeAssociatedCallback",
8628
8520
  "return": {
8629
8521
  "type": {
8630
- "text": "void"
8522
+ "text": "FinalizeAssociatedResult"
8631
8523
  }
8632
8524
  },
8525
+ "parameters": [
8526
+ {
8527
+ "name": "ctxValue",
8528
+ "type": {
8529
+ "text": "string"
8530
+ }
8531
+ }
8532
+ ],
8633
8533
  "inheritedFrom": {
8634
8534
  "name": "FormField",
8635
8535
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8636
8536
  }
8637
8537
  }
8638
8538
  ],
8539
+ "events": [
8540
+ {
8541
+ "description": "Dispatched when a file is uploaded. Preventing default on this event will make upload asynchronous",
8542
+ "name": "bm-selected"
8543
+ }
8544
+ ],
8639
8545
  "attributes": [
8640
8546
  {
8641
- "name": "required",
8547
+ "name": "accept",
8642
8548
  "type": {
8643
- "text": "boolean"
8549
+ "text": "string | undefined"
8644
8550
  },
8645
- "default": "false",
8646
- "description": "Specify if NativeSelect is a required input",
8647
- "fieldName": "required"
8551
+ "description": "Specify what types of files can be uploaded",
8552
+ "fieldName": "accept"
8648
8553
  },
8649
8554
  {
8650
- "name": "readOnly",
8555
+ "name": "error",
8651
8556
  "type": {
8652
- "text": "boolean"
8557
+ "text": "string | boolean | undefined"
8653
8558
  },
8654
- "default": "false",
8655
- "description": "Specify if NativeSelect displays in a read-only state",
8656
- "fieldName": "readOnly"
8559
+ "description": "Specify error text and display error state of FileUpload",
8560
+ "fieldName": "error"
8657
8561
  },
8658
8562
  {
8659
8563
  "name": "disabled",
8660
8564
  "type": {
8661
- "text": "boolean"
8565
+ "text": "boolean | undefined"
8662
8566
  },
8663
8567
  "default": "false",
8664
- "description": "Specify if NativeSelect displays in a disabled state",
8568
+ "description": "Specify if FileUpload is in disabled state",
8665
8569
  "fieldName": "disabled"
8666
8570
  },
8667
8571
  {
8668
- "name": "error",
8572
+ "name": "multiple",
8669
8573
  "type": {
8670
- "text": "string | undefined"
8574
+ "text": "boolean | undefined"
8671
8575
  },
8672
- "description": "Specify error text and display error state of a NativeSelect",
8673
- "fieldName": "error"
8576
+ "description": "Specify if more than one file can be can be uploaded",
8577
+ "default": "false",
8578
+ "fieldName": "multiple"
8674
8579
  },
8675
8580
  {
8676
- "name": "fluid",
8581
+ "name": "fileLimit",
8677
8582
  "type": {
8678
- "text": "boolean"
8583
+ "text": "number | undefined"
8679
8584
  },
8680
- "default": "false",
8681
- "description": "Specify if NativeSelect is fluid",
8682
- "fieldName": "fluid"
8585
+ "description": "Specify how many files can be uploaded",
8586
+ "fieldName": "fileLimit"
8683
8587
  },
8684
8588
  {
8685
- "name": "size",
8589
+ "name": "maxFileSize",
8686
8590
  "type": {
8687
- "text": "'sm' | 'md' | 'lg'"
8591
+ "text": "number | undefined"
8688
8592
  },
8689
- "default": "defaultInputSize",
8690
- "description": "Specify the size of NativeSelect",
8691
- "fieldName": "size"
8593
+ "description": "Specify the maximum file size that can be uploaded",
8594
+ "fieldName": "maxFileSize"
8692
8595
  },
8693
8596
  {
8694
- "name": "width",
8597
+ "name": "required",
8695
8598
  "type": {
8696
- "text": "string | undefined"
8599
+ "text": "boolean | undefined"
8697
8600
  },
8698
- "description": "Specify the width of NativeSelect",
8699
- "fieldName": "width"
8601
+ "description": "Specify if FileUpload is a required input",
8602
+ "default": "false",
8603
+ "fieldName": "required"
8700
8604
  },
8701
8605
  {
8702
- "name": "ellipse",
8606
+ "name": "readOnly",
8703
8607
  "type": {
8704
- "text": "boolean"
8608
+ "text": "boolean | undefined"
8705
8609
  },
8706
- "default": "true",
8707
- "description": "Specify if overflow displays ellipsis",
8708
- "fieldName": "ellipse"
8610
+ "description": "Specify if FileUpload is in read-only state",
8611
+ "fieldName": "readOnly"
8709
8612
  },
8710
8613
  {
8711
8614
  "name": "hideRequiredMarker",
8712
8615
  "type": {
8713
- "text": "boolean"
8616
+ "text": "boolean | undefined"
8714
8617
  },
8618
+ "description": "Specify if FileUpload displays with an asterisk",
8715
8619
  "default": "false",
8716
- "description": "Specify if the NativeSelect displays with an asterisk",
8717
8620
  "fieldName": "hideRequiredMarker"
8718
8621
  },
8622
+ {
8623
+ "name": "validationRules",
8624
+ "type": {
8625
+ "text": "Array<FormValidator>"
8626
+ },
8627
+ "default": "[]",
8628
+ "fieldName": "validationRules",
8629
+ "description": "Specify form validation rules for FileUpload",
8630
+ "inheritedFrom": {
8631
+ "name": "FormField",
8632
+ "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8633
+ }
8634
+ },
8635
+ {
8636
+ "name": "fluid",
8637
+ "type": {
8638
+ "text": "boolean | undefined"
8639
+ },
8640
+ "description": "Specify if FileUpload is fluid",
8641
+ "default": "false",
8642
+ "fieldName": "fluid"
8643
+ },
8644
+ {
8645
+ "name": "width",
8646
+ "type": {
8647
+ "text": "string | undefined"
8648
+ },
8649
+ "description": "Specify the width of FileUpload",
8650
+ "fieldName": "width"
8651
+ },
8719
8652
  {
8720
8653
  "name": "theme",
8721
8654
  "type": {
8722
8655
  "text": "'light' | 'dark' | undefined"
8723
8656
  },
8724
- "description": "Specify the theme of the NativeSelect. By default it inherits the theme from the parent",
8657
+ "description": "Specify the theme of the FileUpload. By default it inherits the theme from the parent",
8725
8658
  "fieldName": "theme"
8726
8659
  },
8727
8660
  {
@@ -8760,18 +8693,6 @@
8760
8693
  "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8761
8694
  }
8762
8695
  },
8763
- {
8764
- "name": "validationRules",
8765
- "type": {
8766
- "text": "Array<FormValidator>"
8767
- },
8768
- "default": "[]",
8769
- "fieldName": "validationRules",
8770
- "inheritedFrom": {
8771
- "name": "FormField",
8772
- "module": "libs/web-components/src/lib/wip/Form/Form.decorator.ts"
8773
- }
8774
- },
8775
8696
  {
8776
8697
  "name": "input-aria-label",
8777
8698
  "type": {
@@ -8788,33 +8709,80 @@
8788
8709
  "name": "FormField",
8789
8710
  "module": "/libs/web-components/src/lib/wip/Form/Form.decorator"
8790
8711
  },
8791
- "summary": "`bm-native-select`",
8792
- "tagName": "bm-native-select",
8712
+ "tagName": "bm-file-upload",
8793
8713
  "customElement": true
8794
8714
  }
8795
8715
  ],
8796
8716
  "exports": [
8797
8717
  {
8798
8718
  "kind": "js",
8799
- "name": "BmNativeSelect",
8719
+ "name": "BmFileUploadFileSelectedEvent",
8800
8720
  "declaration": {
8801
- "name": "BmNativeSelect",
8802
- "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8721
+ "name": "BmFileUploadFileSelectedEvent",
8722
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8723
+ }
8724
+ },
8725
+ {
8726
+ "kind": "js",
8727
+ "name": "BmFileUpload",
8728
+ "declaration": {
8729
+ "name": "BmFileUpload",
8730
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8803
8731
  }
8804
8732
  },
8805
8733
  {
8806
8734
  "kind": "custom-element-definition",
8807
- "name": "bm-native-select",
8735
+ "name": "bm-file-upload",
8808
8736
  "declaration": {
8809
- "name": "BmNativeSelect",
8810
- "module": "libs/web-components/src/lib/wip/NativeSelect/NativeSelect.ts"
8737
+ "name": "BmFileUpload",
8738
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUpload.ts"
8811
8739
  }
8812
8740
  }
8813
8741
  ]
8814
8742
  },
8815
8743
  {
8816
8744
  "kind": "javascript-module",
8817
- "path": "libs/web-components/src/lib/wip/NativeSelect/index.ts",
8745
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts",
8746
+ "declarations": [
8747
+ {
8748
+ "kind": "variable",
8749
+ "name": "fileUploadContext"
8750
+ }
8751
+ ],
8752
+ "exports": [
8753
+ {
8754
+ "kind": "js",
8755
+ "name": "fileUploadContext",
8756
+ "declaration": {
8757
+ "name": "fileUploadContext",
8758
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadContext.ts"
8759
+ }
8760
+ }
8761
+ ]
8762
+ },
8763
+ {
8764
+ "kind": "javascript-module",
8765
+ "path": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts",
8766
+ "declarations": [
8767
+ {
8768
+ "kind": "variable",
8769
+ "name": "fileUploadListContext"
8770
+ }
8771
+ ],
8772
+ "exports": [
8773
+ {
8774
+ "kind": "js",
8775
+ "name": "fileUploadListContext",
8776
+ "declaration": {
8777
+ "name": "fileUploadListContext",
8778
+ "module": "libs/web-components/src/lib/wip/FileUpload/FileUploadListContext.ts"
8779
+ }
8780
+ }
8781
+ ]
8782
+ },
8783
+ {
8784
+ "kind": "javascript-module",
8785
+ "path": "libs/web-components/src/lib/wip/FileUpload/index.ts",
8818
8786
  "declarations": [],
8819
8787
  "exports": [
8820
8788
  {
@@ -8822,7 +8790,39 @@
8822
8790
  "name": "*",
8823
8791
  "declaration": {
8824
8792
  "name": "*",
8825
- "package": "./NativeSelect"
8793
+ "package": "./FileUpload"
8794
+ }
8795
+ },
8796
+ {
8797
+ "kind": "js",
8798
+ "name": "*",
8799
+ "declaration": {
8800
+ "name": "*",
8801
+ "package": "./FileUpload.Button"
8802
+ }
8803
+ },
8804
+ {
8805
+ "kind": "js",
8806
+ "name": "*",
8807
+ "declaration": {
8808
+ "name": "*",
8809
+ "package": "./FileUpload.Dropzone"
8810
+ }
8811
+ },
8812
+ {
8813
+ "kind": "js",
8814
+ "name": "*",
8815
+ "declaration": {
8816
+ "name": "*",
8817
+ "package": "./FileUpload.List"
8818
+ }
8819
+ },
8820
+ {
8821
+ "kind": "js",
8822
+ "name": "*",
8823
+ "declaration": {
8824
+ "name": "*",
8825
+ "package": "./FileUpload.List.Item"
8826
8826
  }
8827
8827
  }
8828
8828
  ]