@nulogy/components 14.6.1 → 14.7.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/main.js CHANGED
@@ -9813,7 +9813,8 @@
9813
9813
  componentId: "sc-150w9kl-1"
9814
9814
  })({
9815
9815
  position: "absolute",
9816
- top: 0
9816
+ inset: 0,
9817
+ margin: "auto"
9817
9818
  });
9818
9819
  var IconContainer = styled__default["default"].span.withConfig({
9819
9820
  displayName: "Icon__IconContainer",
@@ -9825,11 +9826,13 @@
9825
9826
  height: "1em",
9826
9827
  width: ICON_SIZE_RATIO + "em"
9827
9828
  });
9828
- function InlineIcon(props) {
9829
- return /*#__PURE__*/React__default["default"].createElement(IconContainer, Object.assign({}, props), /*#__PURE__*/React__default["default"].createElement(CenteredIcon, Object.assign({
9829
+ var InlineIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
9830
+ return /*#__PURE__*/React__default["default"].createElement(IconContainer, Object.assign({
9831
+ ref: ref
9832
+ }, props), /*#__PURE__*/React__default["default"].createElement(CenteredIcon, Object.assign({
9830
9833
  size: ICON_SIZE_RATIO + "em"
9831
9834
  }, props)));
9832
- }
9835
+ });
9833
9836
  var InputIcon = styled__default["default"](Icon).withConfig({
9834
9837
  displayName: "Icon__InputIcon",
9835
9838
  componentId: "sc-150w9kl-3"
@@ -51639,6 +51642,7 @@
51639
51642
  de_DE: de,
51640
51643
  en_US: enUS,
51641
51644
  es_MX: es,
51645
+ es_ES: es,
51642
51646
  fr_FR: fr,
51643
51647
  nl_NL: nl,
51644
51648
  pl_PL: pl,
@@ -51682,6 +51686,10 @@
51682
51686
  label: "Simplified Chinese (China)",
51683
51687
  value: "zh_CN",
51684
51688
  dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.zh_CN
51689
+ }, {
51690
+ label: "Spanish (Spain)",
51691
+ value: "es_ES",
51692
+ dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.es_ES
51685
51693
  }];
51686
51694
 
51687
51695
  var LocaleContext = /*#__PURE__*/React__default["default"].createContext({
@@ -58618,6 +58626,54 @@
58618
58626
  "weekPicker placeholder": "W52 - Dec 31, 2023",
58619
58627
  "week shorthand": "W"
58620
58628
  };
58629
+ var es_ES = {
58630
+ "close menu": "Cerrar men\xFA",
58631
+ "menu options": "Opciones del men\xFA",
58632
+ close: "Cerrar",
58633
+ "collapse row": "Contraer fila",
58634
+ "date range": "Rango de fechas",
58635
+ "deselect all rows": "Deseleccionar todas las filas",
58636
+ "deselect row": "Deseleccionar fila",
58637
+ "end date is before start date": "La fecha de fin es anterior a la fecha de inicio",
58638
+ "end month is before start month": "El mes de fin es anterior al mes de inicio",
58639
+ "end time is before start time": "La hora de fin es anterior a la hora de inicio",
58640
+ "expand row": "Expandir fila",
58641
+ "go to previous year": "Ir al a\xF1o anterior",
58642
+ "go to next year": "Ir al a\xF1o siguiente",
58643
+ "go to next results": "Ir a los siguientes resultados",
58644
+ "go to page": "Ir a la p\xE1gina {{count}}",
58645
+ "current page of total": "P\xE1gina {{currentPage}} de {{totalPages}}",
58646
+ "go to previous results": "Ir a los resultados anteriores",
58647
+ "go to": "Ir a",
58648
+ "hide actions": "Ocultar acciones",
58649
+ "month range": "Rango de meses",
58650
+ next: "Siguiente",
58651
+ "open menu": "Abrir men\xFA",
58652
+ open: "Abrir",
58653
+ "pagination navigation": "Navegaci\xF3n de paginaci\xF3n",
58654
+ previous: "Anterior",
58655
+ "primary navigation": "Navegaci\xF3n principal",
58656
+ "search nulogy": "Buscar en Nulogy...",
58657
+ "secondary navigation": "Navegaci\xF3n secundaria",
58658
+ select: "Seleccionar",
58659
+ "start typing": "Empieza a escribir",
58660
+ "select a start date": "Selecciona una fecha de inicio",
58661
+ "select a start month": "Selecciona un mes de inicio",
58662
+ "select a start time": "Selecciona una hora de inicio",
58663
+ "select a time": "Selecciona una hora",
58664
+ "select all rows": "Seleccionar todas las filas",
58665
+ "select an end date": "Selecciona una fecha de fin",
58666
+ "select an end month": "Selecciona un mes de fin",
58667
+ "select an end time": "Selecciona una hora de fin",
58668
+ "select row": "Seleccionar fila",
58669
+ "show actions": "Mostrar acciones",
58670
+ "sort ascending": "Ordenar ascendente",
58671
+ "sort descending": "Ordenar descendente",
58672
+ "time range": "Rango horario",
58673
+ "weekPicker date format": "'S'ww - d MMM, yyyy",
58674
+ "weekPicker placeholder": "S52 - 31 dic, 2023",
58675
+ "week shorthand": "S"
58676
+ };
58621
58677
  var es_MX = {
58622
58678
  "close menu": "Cerrar men\xFA",
58623
58679
  "menu options": "Opciones del men\xFA",
@@ -58634,6 +58690,7 @@
58634
58690
  "go to next year": "Ir al a\xF1o siguiente",
58635
58691
  "go to next results": "Ir a los resultados siguientes",
58636
58692
  "go to page": "Ir a la p\xE1gina {{count}}",
58693
+ "current page of total": "P\xE1gina {{currentPage}} de {{totalPages}}",
58637
58694
  "go to previous results": "Ir a los resultados anteriores",
58638
58695
  "go to": "Ir a",
58639
58696
  "hide actions": "Ocultar acciones",
@@ -58965,6 +59022,9 @@
58965
59022
  es_MX: {
58966
59023
  nds: es_MX
58967
59024
  },
59025
+ es_ES: {
59026
+ nds: es_ES
59027
+ },
58968
59028
  fr_FR: {
58969
59029
  nds: fr_FR
58970
59030
  },
@@ -9796,7 +9796,8 @@ var CenteredIcon = styled(Svg$1).withConfig({
9796
9796
  componentId: "sc-150w9kl-1"
9797
9797
  })({
9798
9798
  position: "absolute",
9799
- top: 0
9799
+ inset: 0,
9800
+ margin: "auto"
9800
9801
  });
9801
9802
  var IconContainer = styled.span.withConfig({
9802
9803
  displayName: "Icon__IconContainer",
@@ -9808,11 +9809,13 @@ var IconContainer = styled.span.withConfig({
9808
9809
  height: "1em",
9809
9810
  width: ICON_SIZE_RATIO + "em"
9810
9811
  });
9811
- function InlineIcon(props) {
9812
- return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({}, props), /*#__PURE__*/React__default.createElement(CenteredIcon, Object.assign({
9812
+ var InlineIcon = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
9813
+ return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({
9814
+ ref: ref
9815
+ }, props), /*#__PURE__*/React__default.createElement(CenteredIcon, Object.assign({
9813
9816
  size: ICON_SIZE_RATIO + "em"
9814
9817
  }, props)));
9815
- }
9818
+ });
9816
9819
  var InputIcon = styled(Icon).withConfig({
9817
9820
  displayName: "Icon__InputIcon",
9818
9821
  componentId: "sc-150w9kl-3"
@@ -51622,6 +51625,7 @@ var NDS_TO_DATE_FN_LOCALES_MAP = {
51622
51625
  de_DE: de,
51623
51626
  en_US: enUS,
51624
51627
  es_MX: es,
51628
+ es_ES: es,
51625
51629
  fr_FR: fr,
51626
51630
  nl_NL: nl,
51627
51631
  pl_PL: pl,
@@ -51665,6 +51669,10 @@ var ALL_NDS_LOCALES = [{
51665
51669
  label: "Simplified Chinese (China)",
51666
51670
  value: "zh_CN",
51667
51671
  dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.zh_CN
51672
+ }, {
51673
+ label: "Spanish (Spain)",
51674
+ value: "es_ES",
51675
+ dateFnsValue: NDS_TO_DATE_FN_LOCALES_MAP.es_ES
51668
51676
  }];
51669
51677
 
51670
51678
  var LocaleContext = /*#__PURE__*/React__default.createContext({
@@ -58601,6 +58609,54 @@ var en_US = {
58601
58609
  "weekPicker placeholder": "W52 - Dec 31, 2023",
58602
58610
  "week shorthand": "W"
58603
58611
  };
58612
+ var es_ES = {
58613
+ "close menu": "Cerrar men\xFA",
58614
+ "menu options": "Opciones del men\xFA",
58615
+ close: "Cerrar",
58616
+ "collapse row": "Contraer fila",
58617
+ "date range": "Rango de fechas",
58618
+ "deselect all rows": "Deseleccionar todas las filas",
58619
+ "deselect row": "Deseleccionar fila",
58620
+ "end date is before start date": "La fecha de fin es anterior a la fecha de inicio",
58621
+ "end month is before start month": "El mes de fin es anterior al mes de inicio",
58622
+ "end time is before start time": "La hora de fin es anterior a la hora de inicio",
58623
+ "expand row": "Expandir fila",
58624
+ "go to previous year": "Ir al a\xF1o anterior",
58625
+ "go to next year": "Ir al a\xF1o siguiente",
58626
+ "go to next results": "Ir a los siguientes resultados",
58627
+ "go to page": "Ir a la p\xE1gina {{count}}",
58628
+ "current page of total": "P\xE1gina {{currentPage}} de {{totalPages}}",
58629
+ "go to previous results": "Ir a los resultados anteriores",
58630
+ "go to": "Ir a",
58631
+ "hide actions": "Ocultar acciones",
58632
+ "month range": "Rango de meses",
58633
+ next: "Siguiente",
58634
+ "open menu": "Abrir men\xFA",
58635
+ open: "Abrir",
58636
+ "pagination navigation": "Navegaci\xF3n de paginaci\xF3n",
58637
+ previous: "Anterior",
58638
+ "primary navigation": "Navegaci\xF3n principal",
58639
+ "search nulogy": "Buscar en Nulogy...",
58640
+ "secondary navigation": "Navegaci\xF3n secundaria",
58641
+ select: "Seleccionar",
58642
+ "start typing": "Empieza a escribir",
58643
+ "select a start date": "Selecciona una fecha de inicio",
58644
+ "select a start month": "Selecciona un mes de inicio",
58645
+ "select a start time": "Selecciona una hora de inicio",
58646
+ "select a time": "Selecciona una hora",
58647
+ "select all rows": "Seleccionar todas las filas",
58648
+ "select an end date": "Selecciona una fecha de fin",
58649
+ "select an end month": "Selecciona un mes de fin",
58650
+ "select an end time": "Selecciona una hora de fin",
58651
+ "select row": "Seleccionar fila",
58652
+ "show actions": "Mostrar acciones",
58653
+ "sort ascending": "Ordenar ascendente",
58654
+ "sort descending": "Ordenar descendente",
58655
+ "time range": "Rango horario",
58656
+ "weekPicker date format": "'S'ww - d MMM, yyyy",
58657
+ "weekPicker placeholder": "S52 - 31 dic, 2023",
58658
+ "week shorthand": "S"
58659
+ };
58604
58660
  var es_MX = {
58605
58661
  "close menu": "Cerrar men\xFA",
58606
58662
  "menu options": "Opciones del men\xFA",
@@ -58617,6 +58673,7 @@ var es_MX = {
58617
58673
  "go to next year": "Ir al a\xF1o siguiente",
58618
58674
  "go to next results": "Ir a los resultados siguientes",
58619
58675
  "go to page": "Ir a la p\xE1gina {{count}}",
58676
+ "current page of total": "P\xE1gina {{currentPage}} de {{totalPages}}",
58620
58677
  "go to previous results": "Ir a los resultados anteriores",
58621
58678
  "go to": "Ir a",
58622
58679
  "hide actions": "Ocultar acciones",
@@ -58948,6 +59005,9 @@ var resources = {
58948
59005
  es_MX: {
58949
59006
  nds: es_MX
58950
59007
  },
59008
+ es_ES: {
59009
+ nds: es_ES
59010
+ },
58951
59011
  fr_FR: {
58952
59012
  nds: fr_FR
58953
59013
  },
@@ -11,6 +11,6 @@ export interface IconProps extends SpaceProps {
11
11
  style?: React.CSSProperties;
12
12
  }
13
13
  declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<IconProps & React.RefAttributes<SVGSVGElement>, IconProps>> & string & Omit<React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>, keyof React.Component<any, {}, any>>;
14
- export declare function InlineIcon(props: IconProps): React.JSX.Element;
14
+ export declare const InlineIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLSpanElement>>;
15
15
  export declare const InputIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<IconProps & React.RefAttributes<SVGSVGElement>, keyof IconProps> & IconProps, PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>>> & string;
16
16
  export default Icon;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ parameters: {
5
+ layout: string;
6
+ };
7
+ };
8
+ export default _default;
9
+ export declare const LocaleTable: () => React.JSX.Element;
@@ -2,6 +2,7 @@ export declare const NDS_TO_DATE_FN_LOCALES_MAP: {
2
2
  readonly de_DE: Locale;
3
3
  readonly en_US: Locale;
4
4
  readonly es_MX: Locale;
5
+ readonly es_ES: Locale;
5
6
  readonly fr_FR: Locale;
6
7
  readonly nl_NL: Locale;
7
8
  readonly pl_PL: Locale;
@@ -9,8 +10,44 @@ export declare const NDS_TO_DATE_FN_LOCALES_MAP: {
9
10
  readonly ro_RO: Locale;
10
11
  readonly zh_CN: Locale;
11
12
  };
12
- export declare const ALL_NDS_LOCALES: {
13
- label: string;
14
- value: string;
15
- dateFnsValue: Locale;
16
- }[];
13
+ export declare const ALL_NDS_LOCALES: readonly [{
14
+ readonly label: "German (Germany)";
15
+ readonly value: "de_DE";
16
+ readonly dateFnsValue: Locale;
17
+ }, {
18
+ readonly label: "English (US)";
19
+ readonly value: "en_US";
20
+ readonly dateFnsValue: Locale;
21
+ }, {
22
+ readonly label: "Spanish (Mexico)";
23
+ readonly value: "es_MX";
24
+ readonly dateFnsValue: Locale;
25
+ }, {
26
+ readonly label: "France (French)";
27
+ readonly value: "fr_FR";
28
+ readonly dateFnsValue: Locale;
29
+ }, {
30
+ readonly label: "Dutch (Netherlands)";
31
+ readonly value: "nl_NL";
32
+ readonly dateFnsValue: Locale;
33
+ }, {
34
+ readonly label: "Polish (Poland)";
35
+ readonly value: "pl_PL";
36
+ readonly dateFnsValue: Locale;
37
+ }, {
38
+ readonly label: "Portuguese (Brazil)";
39
+ readonly value: "pt_BR";
40
+ readonly dateFnsValue: Locale;
41
+ }, {
42
+ readonly label: "Romanian (Romania)";
43
+ readonly value: "ro_RO";
44
+ readonly dateFnsValue: Locale;
45
+ }, {
46
+ readonly label: "Simplified Chinese (China)";
47
+ readonly value: "zh_CN";
48
+ readonly dateFnsValue: Locale;
49
+ }, {
50
+ readonly label: "Spanish (Spain)";
51
+ readonly value: "es_ES";
52
+ readonly dateFnsValue: Locale;
53
+ }];
@@ -6,14 +6,14 @@ interface ResizableProps {
6
6
  showContainerOutline?: boolean;
7
7
  }
8
8
  export declare const Resizable: ({ children, containerWidth, onResize, showContainerOutline, }: ResizableProps) => React.JSX.Element;
9
- export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "disabled" | "inline" | "compact" | keyof React.HTMLAttributes<HTMLParagraphElement> | keyof import("../..").StyledProps | "textTransform"> & React.HTMLAttributes<HTMLParagraphElement> & {
9
+ export declare const WidthText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "disabled" | "inline" | "compact" | keyof React.HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
10
10
  variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
11
11
  inline?: boolean;
12
12
  compact?: boolean;
13
13
  disabled?: boolean;
14
14
  textTransform?: "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "none" | "full-width" | "capitalize" | "full-size-kana" | "lowercase" | "uppercase";
15
15
  fontSize?: string;
16
- } & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "disabled" | "inline" | "compact" | keyof React.HTMLAttributes<HTMLParagraphElement> | keyof import("../..").StyledProps | "textTransform"> & React.HTMLAttributes<HTMLParagraphElement> & {
16
+ } & import("../..").StyledProps & import("framer-motion").MotionProps, "ref"> & React.RefAttributes<HTMLElement | SVGElement>, never>> & string & Omit<import("framer-motion").CustomDomComponent<import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "disabled" | "inline" | "compact" | keyof React.HTMLAttributes<HTMLParagraphElement> | "textTransform" | keyof import("../..").StyledProps> & React.HTMLAttributes<HTMLParagraphElement> & {
17
17
  variant?: import("../../NDSProvider/ComponentVariantContext").ComponentVariant;
18
18
  inline?: boolean;
19
19
  compact?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "14.6.1",
3
+ "version": "14.7.0",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {