@photoroom/ui 0.1.311 → 0.1.312

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/index.mjs CHANGED
@@ -56961,79 +56961,88 @@ var gxe = ({ titleBlock: e, children: r, ...i }) => /* @__PURE__ */ n("div", {
56961
56961
  children: r
56962
56962
  })]
56963
56963
  })
56964
- }), u9 = ({ isFeatured: e, label: r }) => /* @__PURE__ */ n("span", { children: [e ? /* @__PURE__ */ t(u, {
56965
- className: "text-content-primary icon-size-500",
56966
- "aria-hidden": "true"
56967
- }) : /* @__PURE__ */ t(g, {
56968
- className: "text-content-secondary icon-size-500",
56969
- "aria-hidden": "true"
56970
- }), /* @__PURE__ */ t("span", {
56971
- className: "sr-only",
56972
- children: r
56973
- })] }), xxe = ({ title: e, otherAppName: r, photoroomIcon: i, otherAppIcon: a, features: o, includedLabel: s, excludedLabel: c, className: l, ...u }) => /* @__PURE__ */ n("div", {
56964
+ }), u9 = ({ isFeatured: e, label: r }) => /* @__PURE__ */ n("span", {
56965
+ className: "flex items-center justify-center",
56966
+ children: [e ? /* @__PURE__ */ t(u, {
56967
+ className: "text-content-primary icon-size-500",
56968
+ "aria-hidden": "true"
56969
+ }) : /* @__PURE__ */ t(g, {
56970
+ className: "text-content-secondary icon-size-500",
56971
+ "aria-hidden": "true"
56972
+ }), /* @__PURE__ */ t("span", {
56973
+ className: "sr-only",
56974
+ children: r
56975
+ })]
56976
+ }), xxe = ({ title: e, otherAppName: r, photoroomIcon: i, otherAppIcon: a, features: o, includedLabel: s, excludedLabel: c, className: l, ...u }) => /* @__PURE__ */ t("div", {
56974
56977
  ...u,
56975
56978
  className: W("rounded-500 bg-background-subdued w-full p-4 sm:p-6", l),
56976
- role: "table",
56977
- "aria-label": e,
56978
- children: [/* @__PURE__ */ t("div", {
56979
- role: "rowgroup",
56980
- children: /* @__PURE__ */ n("div", {
56981
- className: "flex items-end",
56982
- role: "row",
56983
- children: [
56984
- /* @__PURE__ */ t("div", {
56985
- role: "columnheader",
56986
- className: "component-600 text-content-primary min-h-12 flex-1 py-[13px] text-balance",
56987
- children: e
56988
- }),
56989
- /* @__PURE__ */ t("div", {
56990
- role: "columnheader",
56991
- "aria-label": r,
56992
- className: "flex w-12 shrink-0 items-end justify-center pb-3",
56993
- children: a
56994
- }),
56995
- /* @__PURE__ */ t("div", {
56996
- role: "columnheader",
56997
- "aria-label": "Photoroom",
56998
- className: "flex w-12 shrink-0 items-end justify-center pb-3",
56999
- children: i
57000
- })
57001
- ]
57002
- })
57003
- }), /* @__PURE__ */ n("div", {
56979
+ children: /* @__PURE__ */ n("div", {
57004
56980
  className: "relative",
57005
- role: "rowgroup",
57006
- children: [o.map((e) => /* @__PURE__ */ n("div", {
57007
- className: "border-misc-divider flex items-center border-t",
57008
- role: "row",
57009
- children: [
57010
- /* @__PURE__ */ t("div", {
57011
- className: "component-light-600 text-content-secondary flex-1 py-[13px] text-balance",
57012
- role: "rowheader",
57013
- children: e.featureName
56981
+ children: [/* @__PURE__ */ n("table", {
56982
+ className: "w-full border-collapse",
56983
+ "aria-label": e,
56984
+ children: [/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ n("tr", { children: [
56985
+ /* @__PURE__ */ t("th", {
56986
+ className: "component-600 text-content-primary min-h-12 py-[13px] text-start align-bottom text-balance",
56987
+ children: e
57014
56988
  }),
57015
- /* @__PURE__ */ t("div", {
57016
- className: "flex w-12 shrink-0 items-center justify-center self-stretch",
57017
- role: "cell",
57018
- children: /* @__PURE__ */ t(u9, {
57019
- isFeatured: e.isOtherAppFeature,
57020
- label: e.isOtherAppFeature ? s : c
56989
+ /* @__PURE__ */ t("th", {
56990
+ scope: "col",
56991
+ className: "w-12 pb-3 align-bottom",
56992
+ children: /* @__PURE__ */ n("span", {
56993
+ className: "flex justify-center",
56994
+ children: [/* @__PURE__ */ t("span", {
56995
+ "aria-hidden": "true",
56996
+ children: a
56997
+ }), /* @__PURE__ */ t("span", {
56998
+ className: "sr-only",
56999
+ children: r
57000
+ })]
57021
57001
  })
57022
57002
  }),
57023
- /* @__PURE__ */ t("div", {
57024
- className: "flex w-12 shrink-0 items-center justify-center self-stretch",
57025
- role: "cell",
57026
- children: /* @__PURE__ */ t(u9, {
57027
- isFeatured: e.isPhotoroomFeature,
57028
- label: e.isPhotoroomFeature ? s : c
57003
+ /* @__PURE__ */ t("th", {
57004
+ scope: "col",
57005
+ className: "w-12 pb-3 align-bottom",
57006
+ children: /* @__PURE__ */ n("span", {
57007
+ className: "flex justify-center",
57008
+ children: [/* @__PURE__ */ t("span", {
57009
+ "aria-hidden": "true",
57010
+ children: i
57011
+ }), /* @__PURE__ */ t("span", {
57012
+ className: "sr-only",
57013
+ children: "Photoroom"
57014
+ })]
57029
57015
  })
57030
57016
  })
57031
- ]
57032
- }, e.featureName)), /* @__PURE__ */ t("div", {
57017
+ ] }) }), /* @__PURE__ */ t("tbody", { children: o.map((e) => /* @__PURE__ */ n("tr", {
57018
+ className: "border-misc-divider border-t",
57019
+ children: [
57020
+ /* @__PURE__ */ t("th", {
57021
+ scope: "row",
57022
+ className: "component-light-600 text-content-secondary py-[13px] text-start align-middle text-balance",
57023
+ children: e.featureName
57024
+ }),
57025
+ /* @__PURE__ */ t("td", {
57026
+ className: "w-12 align-middle",
57027
+ children: /* @__PURE__ */ t(u9, {
57028
+ isFeatured: e.isOtherAppFeature,
57029
+ label: e.isOtherAppFeature ? s : c
57030
+ })
57031
+ }),
57032
+ /* @__PURE__ */ t("td", {
57033
+ className: "w-12 align-middle",
57034
+ children: /* @__PURE__ */ t(u9, {
57035
+ isFeatured: e.isPhotoroomFeature,
57036
+ label: e.isPhotoroomFeature ? s : c
57037
+ })
57038
+ })
57039
+ ]
57040
+ }, e.featureName)) })]
57041
+ }), /* @__PURE__ */ t("div", {
57033
57042
  "aria-hidden": "true",
57034
- className: "rounded-400 border-content-primary pointer-events-none absolute end-0 -top-12 bottom-0 w-12 border-2"
57043
+ className: "rounded-400 border-content-primary pointer-events-none absolute end-0 top-0 bottom-0 w-12 border-2"
57035
57044
  })]
57036
- })]
57045
+ })
57037
57046
  }), Sxe = ({ title: e, cards: r, cta: i, ...a }) => /* @__PURE__ */ t("div", {
57038
57047
  className: U("pt-e700 pb-e1000", "px-4 sm:px-6 md:px-8 xl:px-10"),
57039
57048
  ...a,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.311",
3
+ "version": "0.1.312",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [