strapi-plugin-oidc 1.7.1 → 1.7.3

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.
@@ -165,7 +165,7 @@ const index = {
165
165
  defaultMessage: "Configuration"
166
166
  },
167
167
  Component: async () => {
168
- return await import("./index-UvfJxIgI.mjs");
168
+ return await import("./index-XU0Tj5JN.mjs");
169
169
  },
170
170
  permissions: [{ action: "plugin::strapi-plugin-oidc.read", subject: null }]
171
171
  }
@@ -7,7 +7,7 @@ const react = require("react");
7
7
  const designSystem = require("@strapi/design-system");
8
8
  const icons = require("@strapi/icons");
9
9
  const reactIntl = require("react-intl");
10
- const index = require("./index-DB7zjuHj.js");
10
+ const index = require("./index-DKHHaEkG.js");
11
11
  const styled = require("styled-components");
12
12
  const lucideReact = require("lucide-react");
13
13
  const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
@@ -75,7 +75,7 @@ const TagInputWrapper = styled__default.default(designSystem.Box)`
75
75
  border: 1px solid ${({ theme }) => theme.colors.neutral200};
76
76
  background-color: ${({ theme }) => theme.colors.neutral0};
77
77
  cursor: text;
78
- min-width: 180px;
78
+ min-width: 220px;
79
79
  min-height: 4rem;
80
80
  flex: 0 0 auto;
81
81
 
@@ -84,7 +84,7 @@ const TagInputWrapper = styled__default.default(designSystem.Box)`
84
84
  box-shadow: 0 0 0 2px ${({ theme }) => theme.colors.primary100};
85
85
  }
86
86
  `;
87
- const TagStyledInput = styled__default.default.input`
87
+ const TagStyledInput = styled__default.default.input.attrs({ autocomplete: "off" })`
88
88
  border: none;
89
89
  background: transparent;
90
90
  outline: none;
@@ -514,7 +514,11 @@ function getDaysInMonth(year, month) {
514
514
  const userLocale = typeof navigator !== "undefined" && navigator.language || "en-US";
515
515
  const MONTH_FORMATTER = new Intl.DateTimeFormat(userLocale, { month: "long" });
516
516
  const WEEKDAY_FORMATTER = new Intl.DateTimeFormat(userLocale, { weekday: "short" });
517
- const DATE_FORMATTER = new Intl.DateTimeFormat(userLocale, { dateStyle: "full" });
517
+ const DATE_FORMATTER = new Intl.DateTimeFormat(userLocale, {
518
+ year: "numeric",
519
+ month: "short",
520
+ day: "numeric"
521
+ });
518
522
  function toUtcMidnightIso(date) {
519
523
  return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate())).toISOString();
520
524
  }
@@ -166,7 +166,7 @@ const index = {
166
166
  defaultMessage: "Configuration"
167
167
  },
168
168
  Component: async () => {
169
- return await Promise.resolve().then(() => require("./index-C2KZ4QxC.js"));
169
+ return await Promise.resolve().then(() => require("./index-CLNsX-aa.js"));
170
170
  },
171
171
  permissions: [{ action: "plugin::strapi-plugin-oidc.read", subject: null }]
172
172
  }
@@ -5,7 +5,7 @@ import { useState, useRef, useId, useEffect, useCallback, useReducer, useMemo, m
5
5
  import { Typography, Flex, Box, MultiSelect, MultiSelectOption, Dialog, Button, Table, Pagination, PreviousLink, NextLink, PageLink, Field, Divider, Thead, Tr, Th, Tbody, Td, IconButton, Tooltip, Alert } from "@strapi/design-system";
6
6
  import { Cross, WarningCircle, Plus, Download, Upload, Trash, Calendar, Mail, Information } from "@strapi/icons";
7
7
  import { useIntl } from "react-intl";
8
- import { g as getTrad } from "./index-D_ZKgByO.mjs";
8
+ import { g as getTrad } from "./index-Bvgdj4LK.mjs";
9
9
  import styled from "styled-components";
10
10
  import { Filter, ClipboardList, Server } from "lucide-react";
11
11
  function Role({ oidcRoles, roles, onChangeRole }) {
@@ -71,7 +71,7 @@ const TagInputWrapper = styled(Box)`
71
71
  border: 1px solid ${({ theme }) => theme.colors.neutral200};
72
72
  background-color: ${({ theme }) => theme.colors.neutral0};
73
73
  cursor: text;
74
- min-width: 180px;
74
+ min-width: 220px;
75
75
  min-height: 4rem;
76
76
  flex: 0 0 auto;
77
77
 
@@ -80,7 +80,7 @@ const TagInputWrapper = styled(Box)`
80
80
  box-shadow: 0 0 0 2px ${({ theme }) => theme.colors.primary100};
81
81
  }
82
82
  `;
83
- const TagStyledInput = styled.input`
83
+ const TagStyledInput = styled.input.attrs({ autocomplete: "off" })`
84
84
  border: none;
85
85
  background: transparent;
86
86
  outline: none;
@@ -510,7 +510,11 @@ function getDaysInMonth(year, month) {
510
510
  const userLocale = typeof navigator !== "undefined" && navigator.language || "en-US";
511
511
  const MONTH_FORMATTER = new Intl.DateTimeFormat(userLocale, { month: "long" });
512
512
  const WEEKDAY_FORMATTER = new Intl.DateTimeFormat(userLocale, { weekday: "short" });
513
- const DATE_FORMATTER = new Intl.DateTimeFormat(userLocale, { dateStyle: "full" });
513
+ const DATE_FORMATTER = new Intl.DateTimeFormat(userLocale, {
514
+ year: "numeric",
515
+ month: "short",
516
+ day: "numeric"
517
+ });
514
518
  function toUtcMidnightIso(date) {
515
519
  return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate())).toISOString();
516
520
  }
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const index = require("./index-DB7zjuHj.js");
3
+ const index = require("./index-DKHHaEkG.js");
4
4
  exports.default = index.index;
@@ -1,4 +1,4 @@
1
- import { i } from "./index-D_ZKgByO.mjs";
1
+ import { i } from "./index-Bvgdj4LK.mjs";
2
2
  export {
3
3
  i as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-oidc",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "A Strapi plugin that provides OpenID Connect (OIDC) authentication functionality for the Strapi Admin Panel.",
5
5
  "strapi": {
6
6
  "displayName": "OIDC Plugin",