@yuno-payments/dashboard-design-system 2.8.10 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/icon/icon-list.d.ts +12 -0
- package/dist/components/atoms/icon/icon-list.js +360 -336
- package/dist/components/molecules/data-table-cells/data-table-icon-cell.d.ts +42 -0
- package/dist/components/molecules/data-table-cells/data-table-icon-cell.js +53 -0
- package/dist/components/molecules/data-table-cells/index.d.ts +1 -0
- package/dist/dashboard-design-system.css +1 -1
- package/dist/index.css +1 -1
- package/dist/index.esm.min.js +6201 -5778
- package/dist/index.js +179 -177
- package/dist/index.umd.min.js +20 -20
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyBtc.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyCny.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyDollarSimple.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyEth.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyEur.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyGbp.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyInr.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyJpy.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyKrw.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyKzt.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyNgn.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/CurrencyRub.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyBtc.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyCny.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyDollarSimple.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyEth.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyEur.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyGbp.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyInr.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyJpy.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyKrw.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyKzt.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyNgn.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/CurrencyRub.es.js +36 -0
- package/package.json +1 -1
- package/registry/components-registry.json +59 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.
|
|
3
|
-
"generatedAt": "2026-05-
|
|
2
|
+
"version": "2.9.0",
|
|
3
|
+
"generatedAt": "2026-05-14T15:35:34.648Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "AccessDeniedAlert",
|
|
@@ -2032,6 +2032,63 @@
|
|
|
2032
2032
|
}
|
|
2033
2033
|
]
|
|
2034
2034
|
},
|
|
2035
|
+
{
|
|
2036
|
+
"name": "DataTableCells",
|
|
2037
|
+
"category": "molecules",
|
|
2038
|
+
"importPath": "@yuno-payments/dashboard-design-system",
|
|
2039
|
+
"description": "A table cell that renders a horizontal list of icons only (no inline labels). Each icon shows its name in a tooltip; overflow items collapse into a `+N` badge with its own tooltip listing the remaining names.",
|
|
2040
|
+
"whenToUse": [
|
|
2041
|
+
"Card brand columns: Visa, Mastercard, Amex, Diners, …",
|
|
2042
|
+
"Icon-driven scan columns where labels would crowd the row"
|
|
2043
|
+
],
|
|
2044
|
+
"whenNotToUse": [],
|
|
2045
|
+
"props": [
|
|
2046
|
+
{
|
|
2047
|
+
"name": "items",
|
|
2048
|
+
"type": "DataTableIconCellItem[]",
|
|
2049
|
+
"required": true,
|
|
2050
|
+
"description": "Array of items (name + src URL or Phosphor iconName)"
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"name": "maxVisible",
|
|
2054
|
+
"type": "number",
|
|
2055
|
+
"default": "4",
|
|
2056
|
+
"required": false,
|
|
2057
|
+
"description": "Max visible icons"
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"name": "emptyState",
|
|
2061
|
+
"type": "ReactNode",
|
|
2062
|
+
"default": "\"-\"",
|
|
2063
|
+
"required": false,
|
|
2064
|
+
"description": "Content to render when items is empty"
|
|
2065
|
+
},
|
|
2066
|
+
{
|
|
2067
|
+
"name": "className",
|
|
2068
|
+
"type": "string",
|
|
2069
|
+
"required": true,
|
|
2070
|
+
"description": "Additional CSS classes"
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
2073
|
+
"examples": [
|
|
2074
|
+
{
|
|
2075
|
+
"name": "Default",
|
|
2076
|
+
"code": "<DataTableCells items={[{\"name\":\"Visa\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"Mastercard\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"Amex\",\"src\":\"https://via.placeholder.com/20\"}]} />"
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "Empty",
|
|
2080
|
+
"code": "<DataTableCells items={[]} />"
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"name": "Overflow",
|
|
2084
|
+
"code": "<DataTableCells items={[{\"name\":\"Visa\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"Mastercard\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"Amex\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"Diners\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"JCB\",\"src\":\"https://via.placeholder.com/20\"},{\"name\":\"Discover\",\"src\":\"https://via.placeholder.com/20\"}]} maxVisible={4} />"
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"name": "WithPhosphorIcons",
|
|
2088
|
+
"code": "<DataTableCells items={[{\"name\":\"Active\",\"iconName\":\"CheckCircle\"},{\"name\":\"Pending\",\"iconName\":\"Clock\"},{\"name\":\"Failed\",\"iconName\":\"XCircle\"}]} />"
|
|
2089
|
+
}
|
|
2090
|
+
]
|
|
2091
|
+
},
|
|
2035
2092
|
{
|
|
2036
2093
|
"name": "DataTableCells",
|
|
2037
2094
|
"category": "molecules",
|