@asgardeo/react 0.25.5 → 0.25.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"BaseCreateOrganization.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/CreateOrganization/BaseCreateOrganization.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,yBAAyB,EAAgC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAEvG,OAAO,EAAc,aAAa,EAAE,EAAE,EAA2B,SAAS,EAAW,MAAM,OAAO,CAAC;AAgBnG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,SAAS,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,SAAS,CAAC;IACzC,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgBD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CAyLlE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"BaseCreateOrganization.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/CreateOrganization/BaseCreateOrganization.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,yBAAyB,EAAgC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAEvG,OAAO,EAAc,aAAa,EAAE,EAAE,EAA2B,SAAS,EAAW,MAAM,OAAO,CAAC;AAiBnG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,yBAAyB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,SAAS,CAAC,EAAE,CAAC,YAAY,EAAE,GAAG,KAAK,IAAI,CAAC;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,SAAS,CAAC;IACzC,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgBD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC,2BAA2B,CA2NlE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseCreateOrganization.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/CreateOrganization/BaseCreateOrganization.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,UAAW,KAAK,eAAe,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAqJxE,CAAC;AAEL,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"BaseCreateOrganization.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/CreateOrganization/BaseCreateOrganization.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,UAAW,KAAK,eAAe,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CA6LxE,CAAC;AAEL,eAAe,SAAS,CAAC"}
@@ -110,6 +110,10 @@ export interface BaseOrganizationListProps {
110
110
  * Inline styles to apply to the container
111
111
  */
112
112
  style?: CSSProperties;
113
+ /**
114
+ * Subtitle for the component
115
+ */
116
+ subheading?: string;
113
117
  /**
114
118
  * Title for the popup dialog (only used in popup mode)
115
119
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BaseOrganizationList.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationList/BaseOrganizationList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,2BAA2B,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAEzF,OAAO,EAAC,aAAa,EAAE,EAAE,EAA4B,SAAS,EAAU,MAAM,OAAO,CAAC;AAUtF,MAAM,WAAW,4BAA6B,SAAQ,YAAY;IAChE,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,gBAAgB,EAAE,2BAA2B,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B;;OAEG;IACH,eAAe,EAAE,YAAY,EAAE,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,4BAA4B,KAAK,IAAI,CAAC;IAC5E;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,SAAS,CAAC;IAC9B;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC3C;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,OAAO,KAAK,SAAS,CAAC;IACpF;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,SAAS,CAAC;IAChC;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,YAAY,EAAE,4BAA4B,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC9F;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgHD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA6K9D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"BaseOrganizationList.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationList/BaseOrganizationList.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,2BAA2B,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAEzF,OAAO,EAAC,aAAa,EAAE,EAAE,EAA4B,SAAS,EAAU,MAAM,OAAO,CAAC;AAUtF,MAAM,WAAW,4BAA6B,SAAQ,YAAY;IAChE,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,gBAAgB,EAAE,2BAA2B,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EA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,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAgHD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA8L9D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseOrganizationList.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationList/BaseOrganizationList.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,UAAW,KAAK,eAAe,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CA0PxE,CAAC;AAEL,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"BaseOrganizationList.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationList/BaseOrganizationList.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,UAAW,KAAK,eAAe,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAgQxE,CAAC;AAEL,eAAe,SAAS,CAAC"}
@@ -85,6 +85,10 @@ export interface BaseOrganizationProfileProps {
85
85
  * Text for the save button (only used in editable mode).
86
86
  */
87
87
  saveButtonText?: string;
88
+ /**
89
+ * Custom subheading for the profile.
90
+ */
91
+ subheading?: string;
88
92
  /**
89
93
  * Custom title for the profile.
90
94
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BaseOrganizationProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationProfile/BaseOrganizationProfile.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,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;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA+V7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"BaseOrganizationProfile.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationProfile/BaseOrganizationProfile.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,mBAAmB,EAAc,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE/E,OAAO,EAAC,EAAE,EAAE,YAAY,EAAE,SAAS,EAAwB,MAAM,OAAO,CAAC;AAYzE,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;IAExB;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;QACb,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,GAAG,EAAE,MAAM,mBAAmB,GAAG,YAAY,CAAC;QAC9C,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,YAAY,EAAE,mBAAmB,KAAK,SAAS,CAAC;KACvE,CAAC,CAAC;IAEH;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAE/C;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAEvC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IAE/B;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3C;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAE1C;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,QAAA,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAkX7D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseOrganizationProfile.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,UAAW,KAAK,eAAe,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAuJzE,CAAC;AAEJ,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"BaseOrganizationProfile.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/presentation/OrganizationProfile/BaseOrganizationProfile.styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAIxC;;;;;GAKG;AACH,QAAA,MAAM,SAAS,UAAW,KAAK,eAAe,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAgLzE,CAAC;AAEJ,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AsgardeoProvider.d.ts","sourceRoot":"","sources":["../../../src/contexts/Asgardeo/AsgardeoProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAsBH,OAAO,EAAC,EAAE,EAAa,iBAAiB,EAAkE,MAAM,OAAO,CAAC;AAIxH,OAAO,EAAC,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAexD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAExD,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CA6pBlE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"AsgardeoProvider.d.ts","sourceRoot":"","sources":["../../../src/contexts/Asgardeo/AsgardeoProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAsBH,OAAO,EAAC,EAAE,EAAa,iBAAiB,EAAkE,MAAM,OAAO,CAAC;AAIxH,OAAO,EAAC,mBAAmB,EAAC,MAAM,qBAAqB,CAAC;AAexD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC;AAExD,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CA8qBlE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -2286,6 +2286,17 @@ var AsgardeoProvider = ({
2286
2286
  }
2287
2287
  };
2288
2288
  }, [asgardeo]);
2289
+ useEffect6(() => {
2290
+ const handleRefreshTokenError = (event) => {
2291
+ if (event?.data?.type === "refresh-access-token-error") {
2292
+ setIsSignedInSync(false);
2293
+ }
2294
+ };
2295
+ window.addEventListener("message", handleRefreshTokenError);
2296
+ return () => {
2297
+ window.removeEventListener("message", handleRefreshTokenError);
2298
+ };
2299
+ }, []);
2289
2300
  useEffect6(() => {
2290
2301
  (async () => {
2291
2302
  try {
@@ -17081,6 +17092,23 @@ var useStyles30 = (theme, colorScheme) => useMemo41(() => {
17081
17092
  flex-direction: column;
17082
17093
  gap: calc(${theme.vars.spacing.unit} * 2);
17083
17094
  `;
17095
+ const headerContainer = css31`
17096
+ margin-bottom: calc(${theme.vars.spacing.unit} * 3);
17097
+ padding-bottom: calc(${theme.vars.spacing.unit} * 2);
17098
+ border-bottom: 1px solid ${theme.vars.colors.border};
17099
+ `;
17100
+ const title = css31`
17101
+ font-size: 1.75rem;
17102
+ font-weight: 700;
17103
+ color: ${theme.vars.colors.text.primary};
17104
+ margin: 0 0 6px 0;
17105
+ letter-spacing: -0.01em;
17106
+ `;
17107
+ const subtitle = css31`
17108
+ font-size: 0.875rem;
17109
+ color: ${theme.vars.colors.text.secondary};
17110
+ margin: 0;
17111
+ `;
17084
17112
  const form = css31`
17085
17113
  display: flex;
17086
17114
  flex-direction: column;
@@ -17095,12 +17123,25 @@ var useStyles30 = (theme, colorScheme) => useMemo41(() => {
17095
17123
  `;
17096
17124
  const field = css31`
17097
17125
  display: flex;
17098
- align-items: center;
17126
+ align-items: flex-start;
17099
17127
  padding: ${theme.vars.spacing.unit} 0;
17100
- border-bottom: 1px solid ${theme.vars.colors.border};
17101
17128
  min-height: 32px;
17102
17129
  `;
17130
+ const label = css31`
17131
+ font-size: 0.875rem;
17132
+ font-weight: 600;
17133
+ color: ${theme.vars.colors.text.primary};
17134
+ width: 200px;
17135
+ min-width: 200px;
17136
+ flex-shrink: 0;
17137
+ text-align: left;
17138
+ padding-right: calc(${theme.vars.spacing.unit} * 2);
17139
+ padding-top: calc(${theme.vars.spacing.unit} * 0.75);
17140
+ white-space: nowrap;
17141
+ line-height: 1.4;
17142
+ `;
17103
17143
  const fieldGroup = css31`
17144
+ flex: 1;
17104
17145
  display: flex;
17105
17146
  flex-direction: column;
17106
17147
  gap: calc(${theme.vars.spacing.unit} * 0.5);
@@ -17117,6 +17158,8 @@ var useStyles30 = (theme, colorScheme) => useMemo41(() => {
17117
17158
  min-height: 80px;
17118
17159
  resize: vertical;
17119
17160
  outline: none;
17161
+ box-sizing: border-box;
17162
+ transition: border-color 0.2s, box-shadow 0.2s;
17120
17163
  &:focus {
17121
17164
  border-color: ${theme.vars.colors.primary.main};
17122
17165
  box-shadow: 0 0 0 2px ${theme.vars.colors.primary.main}20;
@@ -17174,12 +17217,16 @@ var useStyles30 = (theme, colorScheme) => useMemo41(() => {
17174
17217
  fieldGroup,
17175
17218
  form,
17176
17219
  header,
17220
+ headerContainer,
17177
17221
  infoContainer,
17178
17222
  input,
17223
+ label,
17179
17224
  popup,
17180
17225
  root,
17226
+ subtitle,
17181
17227
  textarea,
17182
17228
  textareaError,
17229
+ title,
17183
17230
  value
17184
17231
  };
17185
17232
  }, [
@@ -17290,53 +17337,68 @@ var BaseCreateOrganization = ({
17290
17337
  logger11.error("Form submission error:");
17291
17338
  }
17292
17339
  };
17340
+ const getTranslation = (key, fallback) => {
17341
+ const text = t(key);
17342
+ return text && text !== key ? text : fallback;
17343
+ };
17293
17344
  const createOrganizationContent = /* @__PURE__ */ jsx118("div", { className: cx36(styles["root"], cardLayout && styles["card"], className), style, children: /* @__PURE__ */ jsxs53("div", { className: cx36(styles["content"]), children: [
17345
+ mode !== "popup" && /* @__PURE__ */ jsxs53("div", { className: cx36(styles["headerContainer"]), children: [
17346
+ /* @__PURE__ */ jsx118(Typography_default, { variant: "h5", component: "h1", className: cx36(styles["title"]), children: getTranslation("organization.create.heading", title || "Create organization") }),
17347
+ /* @__PURE__ */ jsx118(Typography_default, { variant: "body2", color: "textSecondary", className: cx36(styles["subtitle"]), children: getTranslation("organization.create.subheading", "Set up a new organization workspace.") })
17348
+ ] }),
17294
17349
  /* @__PURE__ */ jsxs53("form", { id: "create-organization-form", className: cx36(styles["form"]), onSubmit: handleSubmit, children: [
17295
17350
  error && /* @__PURE__ */ jsxs53(Alert_default, { variant: "error", className: styles["errorAlert"], children: [
17296
17351
  /* @__PURE__ */ jsx118(Alert_default.Title, { children: "Error" }),
17297
17352
  /* @__PURE__ */ jsx118(Alert_default.Description, { children: error })
17298
17353
  ] }),
17299
- /* @__PURE__ */ jsx118("div", { className: cx36(styles["fieldGroup"]), children: /* @__PURE__ */ jsx118(
17300
- TextField_default,
17301
- {
17302
- label: `${t("elements.fields.organization.name.label")}`,
17303
- placeholder: t("elements.fields.organization.name.placeholder"),
17304
- value: formData.name,
17305
- onChange: (e) => handleNameChange(e.target.value),
17306
- disabled: loading,
17307
- required: true,
17308
- error: formErrors.name,
17309
- className: cx36(styles["input"])
17310
- }
17311
- ) }),
17312
- /* @__PURE__ */ jsx118("div", { className: cx36(styles["fieldGroup"]), children: /* @__PURE__ */ jsx118(
17313
- TextField_default,
17314
- {
17315
- label: `${t("elements.fields.organization.handle.label") || "Organization Handle"}`,
17316
- placeholder: t("elements.fields.organization.handle.placeholder") || "my-organization",
17317
- value: formData.handle,
17318
- onChange: (e) => handleInputChange("handle", e.target.value),
17319
- disabled: loading,
17320
- required: true,
17321
- error: formErrors.handle,
17322
- helperText: "This will be your organization's unique identifier. Only lowercase letters, numbers, and hyphens are allowed.",
17323
- className: cx36(styles["input"])
17324
- }
17325
- ) }),
17326
- /* @__PURE__ */ jsx118("div", { className: cx36(styles["fieldGroup"]), children: /* @__PURE__ */ jsxs53(FormControl_default, { error: formErrors.description, children: [
17327
- /* @__PURE__ */ jsx118(InputLabel_default, { required: true, children: t("elements.fields.organization.description.label") }),
17328
- /* @__PURE__ */ jsx118(
17354
+ /* @__PURE__ */ jsxs53("div", { className: cx36(styles["field"]), children: [
17355
+ /* @__PURE__ */ jsx118(InputLabel_default, { required: true, className: cx36(styles["label"]), children: getTranslation("elements.fields.organization.name.label", "Organization Name") }),
17356
+ /* @__PURE__ */ jsx118("div", { className: cx36(styles["fieldGroup"]), children: /* @__PURE__ */ jsx118(
17357
+ TextField_default,
17358
+ {
17359
+ placeholder: getTranslation("elements.fields.organization.name.placeholder", "Organization Name"),
17360
+ value: formData.name,
17361
+ onChange: (e) => handleNameChange(e.target.value),
17362
+ disabled: loading,
17363
+ required: true,
17364
+ error: formErrors.name,
17365
+ className: cx36(styles["input"])
17366
+ }
17367
+ ) })
17368
+ ] }),
17369
+ /* @__PURE__ */ jsxs53("div", { className: cx36(styles["field"]), children: [
17370
+ /* @__PURE__ */ jsx118(InputLabel_default, { required: true, className: cx36(styles["label"]), children: getTranslation("elements.fields.organization.handle.label", "Organization Handle") }),
17371
+ /* @__PURE__ */ jsx118("div", { className: cx36(styles["fieldGroup"]), children: /* @__PURE__ */ jsx118(
17372
+ TextField_default,
17373
+ {
17374
+ placeholder: getTranslation("elements.fields.organization.handle.placeholder", "my-organization"),
17375
+ value: formData.handle,
17376
+ onChange: (e) => handleInputChange("handle", e.target.value),
17377
+ disabled: loading,
17378
+ required: true,
17379
+ error: formErrors.handle,
17380
+ helperText: "This will be your organization's unique identifier. Only lowercase letters, numbers, and hyphens are allowed.",
17381
+ className: cx36(styles["input"])
17382
+ }
17383
+ ) })
17384
+ ] }),
17385
+ /* @__PURE__ */ jsxs53("div", { className: cx36(styles["field"]), children: [
17386
+ /* @__PURE__ */ jsx118(InputLabel_default, { required: true, className: cx36(styles["label"]), children: getTranslation("elements.fields.organization.description.label", "Organization Description") }),
17387
+ /* @__PURE__ */ jsx118("div", { className: cx36(styles["fieldGroup"]), children: /* @__PURE__ */ jsx118(FormControl_default, { error: formErrors.description, children: /* @__PURE__ */ jsx118(
17329
17388
  "textarea",
17330
17389
  {
17331
17390
  className: cx36(styles["textarea"], formErrors.description && styles["textareaError"]),
17332
- placeholder: t("organization.create.description.placeholder"),
17391
+ placeholder: getTranslation(
17392
+ "organization.create.description.placeholder",
17393
+ "Enter organization description"
17394
+ ),
17333
17395
  value: formData.description,
17334
17396
  onChange: (e) => handleInputChange("description", e.target.value),
17335
17397
  disabled: loading,
17336
17398
  required: true
17337
17399
  }
17338
- )
17339
- ] }) }),
17400
+ ) }) })
17401
+ ] }),
17340
17402
  renderAdditionalFields && renderAdditionalFields()
17341
17403
  ] }),
17342
17404
  /* @__PURE__ */ jsxs53("div", { className: cx36(styles["actions"]), children: [
@@ -17480,14 +17542,19 @@ var useStyles31 = (theme, colorScheme) => useMemo42(() => {
17480
17542
  padding-bottom: calc(${theme.vars.spacing.unit} * 2);
17481
17543
  border-bottom: 1px solid ${theme.vars.colors.border};
17482
17544
  `;
17545
+ const headerContainer = css32`
17546
+ margin-bottom: calc(${theme.vars.spacing.unit} * 3);
17547
+ padding-bottom: calc(${theme.vars.spacing.unit} * 2);
17548
+ border-bottom: 1px solid ${theme.vars.colors.border};
17549
+ `;
17483
17550
  const headerInfo = css32`
17484
17551
  flex: 1;
17485
17552
  `;
17486
17553
  const title = css32`
17487
- font-size: 1.5rem;
17488
- font-weight: 600;
17489
- margin: 0 0 8px 0;
17554
+ font-size: 1.75rem;
17555
+ font-weight: 700;
17490
17556
  color: ${theme.vars.colors.text.primary};
17557
+ margin: 0 0 calc(${theme.vars.spacing.unit} * 0.5) 0;
17491
17558
  `;
17492
17559
  const subtitle = css32`
17493
17560
  color: ${theme.vars.colors.text.secondary};
@@ -17646,7 +17713,7 @@ var useStyles31 = (theme, colorScheme) => useMemo42(() => {
17646
17713
  errorContainer,
17647
17714
  errorMargin,
17648
17715
  header,
17649
- headerInfo,
17716
+ headerContainer,
17650
17717
  listContainer,
17651
17718
  loadMoreButton,
17652
17719
  loadMoreMargin,
@@ -17757,7 +17824,8 @@ var BaseOrganizationList = ({
17757
17824
  renderLoadMore,
17758
17825
  renderOrganization,
17759
17826
  style,
17760
- title = "Organizations",
17827
+ title,
17828
+ subheading,
17761
17829
  showStatus,
17762
17830
  preferences
17763
17831
  }) => {
@@ -17809,7 +17877,15 @@ var BaseOrganizationList = ({
17809
17877
  }
17810
17878
  return emptyContent;
17811
17879
  }
17880
+ const getTranslation = (key, fallback) => {
17881
+ const text = t(key);
17882
+ return text && text !== key ? text : fallback;
17883
+ };
17812
17884
  const organizationListContent = /* @__PURE__ */ jsxs54("div", { className: cx37(styles["root"], className), style, children: [
17885
+ mode !== "popup" && /* @__PURE__ */ jsxs54("div", { className: cx37(styles["headerContainer"]), children: [
17886
+ /* @__PURE__ */ jsx120(Typography_default, { variant: "h5", component: "h1", className: cx37(styles["title"]), children: getTranslation("organization.list.heading", title || "Organizations List") }),
17887
+ /* @__PURE__ */ jsx120(Typography_default, { variant: "body2", color: "textSecondary", className: cx37(styles["subtitle"]), children: getTranslation("organization.list.subheading", subheading || "View list of organizations.") })
17888
+ ] }),
17813
17889
  /* @__PURE__ */ jsxs54("div", { className: cx37(styles["header"]), children: [
17814
17890
  /* @__PURE__ */ jsx120("div", { className: cx37(styles["headerInfo"]), children: /* @__PURE__ */ jsx120(Typography_default, { variant: "body2", color: "textSecondary", className: cx37(styles["subtitle"]), children: t("organization.switcher.showing.count", {
17815
17891
  showing: organizationsWithSwitchAccess?.length,
@@ -18012,6 +18088,7 @@ var useStyles33 = (theme, colorScheme) => useMemo45(
18012
18088
  color: ${theme.vars.colors.text.secondary};
18013
18089
  margin: 0;
18014
18090
  font-family: monospace;
18091
+ text-align: left;
18015
18092
  `,
18016
18093
  header: css34`
18017
18094
  display: flex;
@@ -18020,6 +18097,11 @@ var useStyles33 = (theme, colorScheme) => useMemo45(
18020
18097
  margin-bottom: calc(${theme.vars.spacing.unit} * 3);
18021
18098
  padding-bottom: calc(${theme.vars.spacing.unit} * 2);
18022
18099
  `,
18100
+ headerContainer: css34`
18101
+ margin-bottom: calc(${theme.vars.spacing.unit} * 3);
18102
+ padding-bottom: calc(${theme.vars.spacing.unit} * 2);
18103
+ border-bottom: 1px solid ${theme.vars.colors.border};
18104
+ `,
18023
18105
  infoContainer: css34`
18024
18106
  display: flex;
18025
18107
  flex-direction: column;
@@ -18029,18 +18111,26 @@ var useStyles33 = (theme, colorScheme) => useMemo45(
18029
18111
  font-size: 0.875rem;
18030
18112
  font-weight: 500;
18031
18113
  color: ${theme.vars.colors.text.secondary};
18032
- width: 120px;
18114
+ width: 200px;
18115
+ min-width: 200px;
18033
18116
  flex-shrink: 0;
18034
18117
  line-height: 28px;
18118
+ text-align: left;
18119
+ white-space: nowrap;
18035
18120
  `,
18036
18121
  name: css34`
18037
18122
  font-size: 1.5rem;
18038
18123
  font-weight: 600;
18039
18124
  margin: 0 0 8px 0;
18040
18125
  color: ${theme.vars.colors.text.primary};
18126
+ text-align: left;
18041
18127
  `,
18042
18128
  orgInfo: css34`
18043
18129
  flex: 1;
18130
+ display: flex;
18131
+ flex-direction: column;
18132
+ align-items: flex-start;
18133
+ text-align: left;
18044
18134
  `,
18045
18135
  permissionBadge: css34`
18046
18136
  padding: calc(${theme.vars.spacing.unit} / 4) ${theme.vars.spacing.unit};
@@ -18080,6 +18170,17 @@ var useStyles33 = (theme, colorScheme) => useMemo45(
18080
18170
  text-transform: uppercase;
18081
18171
  letter-spacing: 0.5px;
18082
18172
  `,
18173
+ subtitle: css34`
18174
+ font-size: 0.875rem;
18175
+ color: ${theme.vars.colors.text.secondary};
18176
+ margin: 0;
18177
+ `,
18178
+ title: css34`
18179
+ font-size: 1.75rem;
18180
+ font-weight: 700;
18181
+ color: ${theme.vars.colors.text.primary};
18182
+ margin: 0 0 calc(${theme.vars.spacing.unit} * 0.5) 0;
18183
+ `,
18083
18184
  value: css34`
18084
18185
  color: ${theme.vars.colors.text.primary};
18085
18186
  flex: 1;
@@ -18476,7 +18577,9 @@ var BaseOrganizationProfile = ({
18476
18577
  className = "",
18477
18578
  cardLayout = true,
18478
18579
  organization,
18479
- title = "Organization Profile",
18580
+ preferences,
18581
+ title,
18582
+ subheading,
18480
18583
  mode = "inline",
18481
18584
  editable = true,
18482
18585
  onOpenChange,
@@ -18516,6 +18619,7 @@ var BaseOrganizationProfile = ({
18516
18619
  ]
18517
18620
  }) => {
18518
18621
  const { theme, colorScheme } = useTheme_default();
18622
+ const { t } = useTranslation_default(preferences?.i18n);
18519
18623
  const styles = BaseOrganizationProfile_styles_default(theme, colorScheme);
18520
18624
  const [editedOrganization, setEditedOrganization] = useState38(organization);
18521
18625
  const [editingFields, setEditingFields] = useState38({});
@@ -18731,7 +18835,15 @@ var BaseOrganizationProfile = ({
18731
18835
  if (!organization) {
18732
18836
  return fallback;
18733
18837
  }
18838
+ const getTranslation = (key, fallback2) => {
18839
+ const text = t(key);
18840
+ return text && text !== key ? text : fallback2;
18841
+ };
18734
18842
  const profileContent = /* @__PURE__ */ jsxs56(Card_default, { className: cx40(styles["root"], cardLayout && styles["card"], className), children: [
18843
+ mode !== "popup" && /* @__PURE__ */ jsxs56("div", { className: cx40(styles["headerContainer"]), children: [
18844
+ /* @__PURE__ */ jsx123(Typography_default, { variant: "h5", component: "h1", className: cx40(styles["title"]), children: getTranslation("organization.profile.heading", title || "Organization Profile") }),
18845
+ /* @__PURE__ */ jsx123(Typography_default, { variant: "body2", color: "textSecondary", className: cx40(styles["subtitle"]), children: getTranslation("organization.profile.subheading", subheading || "Manage your organization details.") })
18846
+ ] }),
18735
18847
  /* @__PURE__ */ jsxs56("div", { className: cx40(styles["header"]), children: [
18736
18848
  /* @__PURE__ */ jsx123(Avatar, { name: getOrgInitials(organization.name), size: 80, alt: `${organization.name} logo` }),
18737
18849
  /* @__PURE__ */ jsxs56("div", { className: cx40(styles["orgInfo"]), children: [